Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pointless precommit update #44

Merged
merged 1 commit into from
Aug 6, 2024
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
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
author = "numFOCUS Infrastructure Committee"
project = "numFOCUS Project Infrastructure"
release = ""
copyright = f"{datetime.now().year}, {author}" # NOQA: A001
copyright = f"{datetime.now().year}, {author}" # NOQA: A001 DTZ005
html_theme = "pydata_sphinx_theme"
40 changes: 12 additions & 28 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 120
target-version = ['py39']
target-version = ['py312']

[tool.isort]
profile = "black"
Expand All @@ -10,41 +10,25 @@ length_sort_sections = "stdlib"

[tool.ruff]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py39"
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py312"
line-length = 120
exclude=[
".git,",
extend-exclude=[
"__pycache__",
"build",
"tools/**",
".history",
]
select = [
"E",
"F",
"W",
"UP",
"PT",
"RET",
"TID",
"PLE",
"NPY",
"RUF",
"PGH",
"PTH",
"BLE",
"FBT",
"B",
"A",
"COM",
"C4",
"T20",
"RSE",
"ERA",
lint.select = [
"ALL",
]
lint.extend-ignore = [
"D100", # Missing docstring in public module
"INP001", # conf.py is part of an implicit namespace package
]


[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "numpy"

[tool.codespell]
Expand Down