Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ repos:
# - validate-pyproject[all,store]

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.29.3
rev: v2.29.4
hooks:
- id: pyproject-fmt
name: format pyproject.toml

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.12.10
rev: 0.12.12
hooks:
# running uv lock requires network access or a warm cache, so it
# cannot be run via pre-commit.ci, even with the `--offline`,
Expand Down
10 changes: 1 addition & 9 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,16 +286,8 @@ def zizmor(session: nox.Session) -> None:
"""
if RUNNING_ON_CI:
session.log(ZIZMOR_TROUBLESHOOTING_MESSAGE)

options = [
"--show-audit-urls=always",
]

if not RUNNING_ON_CI and not session.posargs:
options.append("--quiet")

options = ["--quiet"] if not RUNNING_ON_CI and not session.posargs else []
options.extend(session.posargs or ["--fix=safe"])

session.run("zizmor", ".github", *options)


Expand Down
37 changes: 1 addition & 36 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
build-backend = "uv_build"
requires = [ "uv-build>=0.12.5,<0.13" ]
Expand All @@ -22,6 +22,7 @@
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
]
dependencies = [
"argcomplete>=3.6.3",
Expand Down Expand Up @@ -247,35 +248,15 @@
"×",
"–",
"′",
"∨",
"∪",
"∼",
"⊤",
"α",
"ℂ",
"ℰ",
"ℱ",
"γ",
"ℎ",
"ι",
"ℐ",
"ℑ",
"ℒ",
"ℓ",
"ℳ",
"ν",
"ℕ",
"ο",
"𝒪",
"ℚ",
"ρ",
"ℜ",
"ℝ",
"σ",
"τ",
"β",
"υ",
"ℤ",
]
lint.flake8-import-conventions.aliases."astropy.constants" = "const"
lint.flake8-import-conventions.aliases."astropy.units" = "u"
Expand All @@ -291,22 +272,6 @@
"warnings",
]
lint.flake8-tidy-imports.ban-relative-imports = "all"
lint.flake8-tidy-imports.banned-api."typing.Callable".msg = "Deprecated alias. Change to collections.abc.Callable"
lint.flake8-tidy-imports.banned-api."typing.Collection".msg = "Deprecated alias. Change to collections.abc.Collection"
lint.flake8-tidy-imports.banned-api."typing.DefaultDict".msg = "Deprecated alias. Change to collections.defaultdict"
lint.flake8-tidy-imports.banned-api."typing.Dict".msg = "Deprecated alias. Change to dict"
lint.flake8-tidy-imports.banned-api."typing.Generator".msg = "Deprecated alias. Change to collections.abc.Generator"
lint.flake8-tidy-imports.banned-api."typing.Iterable".msg = "Deprecated alias. Change to collections.abc.Iterable"
lint.flake8-tidy-imports.banned-api."typing.Iterator".msg = "Deprecated alias. Change to collections.abc.Iterator"
lint.flake8-tidy-imports.banned-api."typing.List".msg = "Deprecated alias. Change to list"
lint.flake8-tidy-imports.banned-api."typing.Mapping".msg = "Deprecated alias. Change to collections.abc.mapping"
lint.flake8-tidy-imports.banned-api."typing.MutableMapping".msg = """\
Deprecated alias. Change to collections.abc.MutableMapping\
"""
lint.flake8-tidy-imports.banned-api."typing.Sequence".msg = "Deprecated alias. Change to collections.abc.Sequence"
lint.flake8-tidy-imports.banned-api."typing.Set".msg = "Deprecated alias. Change to set"
lint.flake8-tidy-imports.banned-api."typing.Tuple".msg = "Deprecated alias. Change to tuple"
lint.flake8-tidy-imports.banned-api."typing.Type".msg = "Deprecated alias. Change to type"
lint.isort.known-first-party = [ "pyfaradaycup" ]
lint.pydocstyle.convention = "numpy"
lint.pylint.max-positional-args = 6
Expand Down
Loading
Loading