File tree 2 files changed +12
-0
lines changed
{{cookiecutter.project_name}}
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ A template for new Python projects, with:
17
17
* [ black] [ black ]
18
18
* [ flake8] [ flake8 ] (with [ bugbear] [ flake8-bugbear ] , [ simplify] [ flake8-simplify ] ,
19
19
and [ pep8-naming] [ pep8-naming ] )
20
+ * [ autoflake] [ autoflake ]
21
+ * [ pyupgrade] [ pyupgrade ]
20
22
* [ bandit] [ bandit ]
21
23
* [ cruft] [ cruft ]
22
24
* GitHub Actions support
@@ -64,6 +66,7 @@ cookiecutter https://github.com/smkent/cookie-python
64
66
* Update test expected output files from test results:
65
67
` poetry run poe updatetests `
66
68
69
+ [ autoflake ] : https://github.com/PyCQA/autoflake
67
70
[ bandit ] : https://github.com/PyCQA/bandit
68
71
[ black ] : https://github.com/psf/black
69
72
[ codecov ] : https://codecov.io/gh/smkent/cookie-python
@@ -84,4 +87,5 @@ cookiecutter https://github.com/smkent/cookie-python
84
87
[ pre-commit ] : https://pre-commit.com/
85
88
[ pypi ] : https://pypi.org/project/cookie-python/
86
89
[ pytest ] : https://docs.pytest.org
90
+ [ pyupgrade ] : https://github.com/asottile/pyupgrade
87
91
[ repo ] : https://github.com/smkent/cookie-python
Original file line number Diff line number Diff line change @@ -33,6 +33,14 @@ repos:
33
33
- flake8-pyproject
34
34
- flake8-simplify
35
35
- pep8-naming
36
+ - repo : https://github.com/pycqa/autoflake
37
+ rev : v2.0.1
38
+ hooks :
39
+ - id : autoflake
40
+ - repo : https://github.com/asottile/pyupgrade
41
+ rev : v3.3.1
42
+ hooks :
43
+ - id : pyupgrade
36
44
- repo : local
37
45
hooks :
38
46
- id : mypy
You can’t perform that action at this time.
0 commit comments