diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fe7c6a2..f8443a1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,10 +3,10 @@ repos: rev: 23.1.0 hooks: - id: black - args: [".", "-l 120"] + args: ["-l 120"] - repo: https://github.com/PyCQA/flake8 rev: 4.0.1 hooks: - id: flake8 - args: [".", "--count", "--select=E9,F63,F7,F82", "--show-source", "--statistics"] \ No newline at end of file + args: ["--count", "--select=E9,F63,F7,F82", "--show-source", "--statistics"] \ No newline at end of file diff --git a/setup.py b/setup.py index 3b2a8b4..fadbcf0 100644 --- a/setup.py +++ b/setup.py @@ -101,10 +101,9 @@ if __name__ == "__main__": install_requires=REQUIRED, extras_require={ "dev": [ - # For documentation + # For documentations "sphinx", "sphinx_rtd_theme", - "pre-commit", # CI dependencies "pytest>=3", "wheel", @@ -114,6 +113,7 @@ if __name__ == "__main__": "mypy<0.981", "flake8", "black==23.1.0", + "pre-commit", ], }, classifiers=[