mirror of
https://github.com/venthur/blag.git
synced 2025-11-25 12:42:41 +00:00
replaced flake8 with ruff
This commit is contained in:
@@ -36,7 +36,7 @@ dev = [
|
||||
"wheel",
|
||||
"pytest",
|
||||
"pytest-cov",
|
||||
"flake8",
|
||||
"ruff",
|
||||
"mypy",
|
||||
"types-markdown",
|
||||
]
|
||||
@@ -61,6 +61,22 @@ addopts = """
|
||||
--cov-report=term-missing:skip-covered
|
||||
"""
|
||||
|
||||
[tool.ruff]
|
||||
select = [
|
||||
"F", # pyflakes
|
||||
"E", "W", # pycodestyle
|
||||
"C90", # mccabe
|
||||
"I", # isort
|
||||
"D", # pydocstyle
|
||||
"UP" # pyupgrade
|
||||
]
|
||||
line-length = 79
|
||||
src = ["blag", "tests"]
|
||||
target-version = "py38"
|
||||
|
||||
[tool.ruff.pydocstyle]
|
||||
convention = "numpy"
|
||||
|
||||
[tool.mypy]
|
||||
files = "blag,tests"
|
||||
strict = true
|
||||
|
||||
Reference in New Issue
Block a user