Browse Source

[MNT] update set up

tags/v0.3.2
bxdd 2 years ago
parent
commit
1db352a308
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      .pre-commit-config.yaml
  2. +2
    -2
      setup.py

+ 2
- 2
.pre-commit-config.yaml View File

@@ -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"]
args: ["--count", "--select=E9,F63,F7,F82", "--show-source", "--statistics"]

+ 2
- 2
setup.py View File

@@ -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=[


Loading…
Cancel
Save