forked from github.com/blag
updated ruff
This commit is contained in:
@@ -64,6 +64,10 @@ addopts = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
|
line-length = 79
|
||||||
|
target-version = "py38"
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
select = [
|
select = [
|
||||||
"F", # pyflakes
|
"F", # pyflakes
|
||||||
"E", "W", # pycodestyle
|
"E", "W", # pycodestyle
|
||||||
@@ -72,11 +76,7 @@ select = [
|
|||||||
"D", # pydocstyle
|
"D", # pydocstyle
|
||||||
"UP" # pyupgrade
|
"UP" # pyupgrade
|
||||||
]
|
]
|
||||||
line-length = 79
|
pydocstyle.convention = "numpy"
|
||||||
target-version = "py38"
|
|
||||||
|
|
||||||
[tool.ruff.pydocstyle]
|
|
||||||
convention = "numpy"
|
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
files = "blag,tests"
|
files = "blag,tests"
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ twine==4.0.2
|
|||||||
wheel==0.42.0
|
wheel==0.42.0
|
||||||
pytest==7.4.3
|
pytest==7.4.3
|
||||||
pytest-cov==4.1.0
|
pytest-cov==4.1.0
|
||||||
ruff==0.1.14
|
ruff==0.2.00
|
||||||
mypy==1.8.0
|
mypy==1.8.0
|
||||||
types-markdown==3.5.0.20240129
|
types-markdown==3.5.0.20240129
|
||||||
|
|||||||
Reference in New Issue
Block a user