Skip to content

Commit

Permalink
bring back setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Nov 24, 2023
1 parent 98fde2c commit 7094992
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
args: ['--config=pyproject.toml']

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
Expand Down
8 changes: 0 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ dependencies = [
dev = [
"black>=22.3.0",
"flake8>=4.0.1",
"Flake8-pyproject",
"isort>=5.10.1",
"mypy>=0.942",
"mock",
Expand Down Expand Up @@ -88,13 +87,6 @@ omit = [
[tool.isort]
profile = "black"

[tool.flake8]
max-line-length = 88
extend-ignore = ["E203", "E741", "W503"]
exclude =[".git", ".idea", ".*_cache", "dist", "htmlcov", "venv"]
per-file-ignores = "__init__.py:F401"


[tool.mypy]
warn_return_any = true
warn_unused_configs = true
Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
max-line-length = 88
extend-ignore = E203, E741, W503
exclude =.git .idea .*_cache dist htmlcov venv
per-file-ignores = __init__.py:F401

0 comments on commit 7094992

Please sign in to comment.