File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed
Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 4040 # Run flake8 on Python files
4141 flake8 pyencrypt --count --show-source --max-complexity=10 --statistics
4242 # Run flake8 on test files
43- flake8 tests --count --show-source --max-complexity=10 --statistics --ignore F401,E501
43+ flake8 tests --count --show-source --max-complexity=10 --statistics --ignore F401,W503
4444
4545 - name : Test with pytest
4646 run : |
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ Options:
177177### Format Code
178178
179179``` shell
180- yapf --recursive -i pyencrypt
180+ black pyencrypt
181181isort pyencrypt
182182```
183183
Original file line number Diff line number Diff line change 11-r requirement.txt
22isort==5.10.1
3- yapf==0.31 .0
3+ black==22.8 .0
44pytest==6.2.5
55ipython==7.16.3
66flake8==4.0.1
Original file line number Diff line number Diff line change @@ -48,13 +48,12 @@ exclude =
4848console_scripts =
4949 pyencrypt = pyencrypt.cli:cli
5050
51- [yapf]
52- based_on_style = pep8
53- COLUMN_LIMIT = 119
54- indent_width = 4
55- coalesce_brackets = True
56- dedent_closing_brackets = True
51+ [black]
52+ line-length = 88
53+
54+ [isort]
55+ profile = black
5756
5857[flake8]
59- max_line_length = 119
60- ignore = E501,W504
58+ max-line-length = 88
59+ extend- ignore = E203,E701,E501
You can’t perform that action at this time.
0 commit comments