-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ jobs: | |
- "3.11" | ||
- "3.10" | ||
- "3.9" | ||
- "3.8" | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,15 +24,14 @@ maintainers = [ | |
{ name = "Ofek Lev", email = "[email protected]" }, | ||
{ name = "Ronny Pfannschmidt", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
|
@@ -102,7 +101,6 @@ matrix = [ | |
"3.11", | ||
"3.10", | ||
"3.9", | ||
"3.8", | ||
"pypy3.10", | ||
] }, | ||
] | ||
|
@@ -203,41 +201,42 @@ scripts = { "run" = [ | |
] } | ||
|
||
[tool.ruff] | ||
target-version = "py38" | ||
target-version = "py39" | ||
line-length = 120 | ||
format.preview = true | ||
lint.preview = true | ||
select = [ | ||
lint.select = [ | ||
"ALL", | ||
] | ||
isort = { known-first-party = [ | ||
"platformdirs", | ||
"tests", | ||
], required-imports = [ | ||
"from __future__ import annotations", | ||
] } | ||
ignore = [ | ||
lint.ignore = [ | ||
"ANN101", # Missing type annotation for `self` in method | ||
"D301", # Use `r"""` if any backslashes in a docstring | ||
"D205", # 1 blank line required between summary line and description | ||
"D401", # The first line of docstring should be in imperative mood | ||
"CPY", # no copyright notices | ||
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible | ||
"D205", # 1 blank line required between summary line and description | ||
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible | ||
"S104", # Possible binding to all interfaces | ||
"CPY", # no copyright notices | ||
"D301", # Use `r"""` if any backslashes in a docstring | ||
"D401", # The first line of docstring should be in imperative mood | ||
"DOC", # no support for restructuredtext | ||
"S104", # Possible binding to all interfaces | ||
] | ||
per-file-ignores."tests/**/*.py" = [ | ||
"S101", # asserts allowed in tests | ||
lint.per-file-ignores."tests/**/*.py" = [ | ||
"D", # don't care about documentation in tests | ||
"FBT", # don't care about booleans as positional arguments in tests | ||
"INP001", # no implicit namespace | ||
"D", # don't care about documentation in tests | ||
"S603", # `subprocess` call: check for execution of untrusted input | ||
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable | ||
"PLC2701", # Private name import | ||
"PLR0917", # Too many positional arguments | ||
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable | ||
"S101", # asserts allowed in tests | ||
"S603", # `subprocess` call: check for execution of untrusted input | ||
] | ||
|
||
lint.isort = { known-first-party = [ | ||
"platformdirs", | ||
"tests", | ||
], required-imports = [ | ||
"from __future__ import annotations", | ||
] } | ||
lint.preview = true | ||
|
||
[tool.codespell] | ||
builtin = "clear,usage,en-GB_to_en-US" | ||
count = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters