Skip to content

Commit

Permalink
chore: 🤖 replace yapf with black
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoQi99 committed Mar 26, 2024
1 parent ccee618 commit 1d49927
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Options:
### Format Code

```shell
yapf --recursive -i pyencrypt
black pyencrypt
isort pyencrypt
```

Expand Down
2 changes: 1 addition & 1 deletion dev-requirement.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r requirement.txt
isort==5.10.1
yapf==0.31.0
black=22.8.0
pytest==6.2.5
ipython==7.16.3
flake8==4.0.1
15 changes: 7 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@ exclude =
console_scripts =
pyencrypt = pyencrypt.cli:cli

[yapf]
based_on_style = pep8
COLUMN_LIMIT = 119
indent_width = 4
coalesce_brackets = True
dedent_closing_brackets = True
[black]
line-length = 88

[isort]
profile = black

[flake8]
max_line_length = 119
ignore = E501,W504
max-line-length = 88
extend-ignore = E203,E701,E501

0 comments on commit 1d49927

Please sign in to comment.