File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 args : [--markdown-linebreak-ext=md]
77 - id : end-of-file-fixer
88 - id : debug-statements
9- - repo : https://github.com/pycqa/isort
10- rev : 5.10.1
11- hooks :
12- - id : isort
139 - repo : https://github.com/psf/black
1410 rev : " 22.10.0"
1511 hooks :
1612 - id : black
17- - repo : https://github.com/PyCQA/flake8
18- rev : " 6.0.0"
19- hooks :
20- - id : flake8
21- additional_dependencies :
22- - flake8-comprehensions
23- - flake8-bugbear
24- - repo : https://github.com/asottile/pyupgrade
25- rev : v3.2.2
26- hooks :
27- - id : pyupgrade
28- args : [--py37-plus]
2913 - repo : https://github.com/pre-commit/mirrors-mypy
3014 rev : ' v0.991'
3115 hooks :
3216 - id : mypy
17+ - repo : https://github.com/charliermarsh/ruff-pre-commit
18+ rev : ' v0.0.238'
19+ hooks :
20+ - id : ruff
Original file line number Diff line number Diff line change @@ -7,3 +7,22 @@ version_scheme = "post-release"
77
88[tool .black ]
99target-version = [' py37' ]
10+
11+ [tool .ruff ]
12+ select = [
13+ " E" ,
14+ " F" ,
15+ " W" ,
16+ " B0" ,
17+ " I" ,
18+ " UP" ,
19+ # "N",
20+ " C4" ,
21+ " PT" ,
22+ # "SIM",
23+ " TID" ,
24+ ]
25+ target-version = " py37"
26+
27+ [tool .ruff .isort ]
28+ force-single-line = true
Original file line number Diff line number Diff line change 1- [flake8]
2- exclude = docs/conf.py
3- extend-ignore =
4- # Black-incompatible colon spacing.
5- E203,
6- # Line jump before binary operator.
7- W503,
8- max-line-length = 88
9-
10- [isort]
11- force_single_line =true
12-
131[tool:pytest]
142addopts =
153 -vv
Original file line number Diff line number Diff line change 99 images: Pillow
1010commands = pytest --cov barcode
1111usedevelop = True
12-
13- [flake8]
14- exclude =.tox,build,.eggs
15- application-import-names =barcode,tests
16- import-order-style =smarkets
You can’t perform that action at this time.
0 commit comments