mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-09 19:13:14 -06:00
build: swap ruff for flake8
This commit is contained in:
parent
ff110f0829
commit
1f11967f3f
3 changed files with 12 additions and 11 deletions
|
@ -16,7 +16,7 @@ repos:
|
|||
hooks:
|
||||
- id: black
|
||||
language_version: python
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: 6.0.0
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: 'v0.0.245'
|
||||
hooks:
|
||||
- id: flake8
|
||||
- id: ruff
|
||||
|
|
|
@ -27,3 +27,12 @@ dev = [
|
|||
"pre-commit>=3",
|
||||
"mypy>=0.991"
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
ignore = ["E402"]
|
||||
|
||||
[tool.mypy]
|
||||
warn_return_any = true
|
||||
check_untyped_defs = true
|
||||
warn_unused_configs = true
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
[flake8]
|
||||
max-line-length = 88
|
||||
ignore = E402, W503
|
||||
|
||||
[mypy]
|
||||
warn_return_any = True
|
||||
check_untyped_defs = True
|
||||
warn_unused_configs = True
|
Loading…
Reference in a new issue