diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d075afb5..8098f23e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 2588852f..7c0d1244 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,6 @@ dependencies = [ dev = [ "black>=22.3.0", "flake8>=4.0.1", - "Flake8-pyproject", "isort>=5.10.1", "mypy>=0.942", "mock", @@ -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 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..19087b60 --- /dev/null +++ b/setup.cfg @@ -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 \ No newline at end of file