mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-09-19 12:44:11 +08:00
chore(lint): remove flake8 in favor to ruff (#103)
* chore(lint): apply suggested for flake8-black compat. This applies the changes suggested by the Black documentation. * from flake8 to ruff
This commit is contained in:
5
.flake8
5
.flake8
@ -1,5 +0,0 @@
|
||||
[flake8]
|
||||
min_python_version = 3.7
|
||||
extend-ignore =
|
||||
# E501: line too long
|
||||
E501,
|
@ -14,15 +14,10 @@ repos:
|
||||
rev: 22.12.0
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 6.0.0
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: v0.0.219
|
||||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies:
|
||||
- flake8-bugbear
|
||||
- flake8-comprehensions
|
||||
- flake8-tidy-imports
|
||||
- flake8-typing-imports
|
||||
- id: ruff
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: 'v0.991'
|
||||
hooks:
|
||||
|
3221
poetry.lock
generated
3221
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -53,7 +53,7 @@ furo = "^2022.9.29"
|
||||
black = "^22.10.0"
|
||||
mypy = "^0.991"
|
||||
isort = "^5.10.1"
|
||||
flake8 = "^6.0.0"
|
||||
ruff = "^0.0.219"
|
||||
|
||||
[tool.poetry.group.test.dependencies]
|
||||
manim = "^0.17.0"
|
||||
@ -99,6 +99,14 @@ strict-equality = true
|
||||
# Config file
|
||||
warn-unused-configs = true
|
||||
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py38"
|
||||
ignore = [
|
||||
"E501",
|
||||
]
|
||||
|
||||
|
||||
[tool.poetry.plugins]
|
||||
[tool.poetry.plugins."console_scripts"]
|
||||
manim-slides = "manim_slides.__main__:cli"
|
||||
|
Reference in New Issue
Block a user