Skip to content

Commit

Permalink
Make black and flake8 compatible (eclipse-velocitas#202)
Browse files Browse the repository at this point in the history
* Make black and flake8 compatible

* Disable only W503 and add link to black config docs

* Update setup.cfg comments

Co-authored-by: Serhii Korchynskyi <[email protected]>

---------

Co-authored-by: Serhii Korchynskyi <[email protected]>
  • Loading branch information
mml5bg and kse3hi authored Oct 11, 2023
1 parent ee1c283 commit 8400245
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[flake8]
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9,B950
extend-ignore = E203,W503
# More information about aligning flake8 and black configs can be found at https://github.com/psf/black/blob/06ccb88bf2bd35a4dc5d591bb296b5b299d07323/docs/guides/using_black_with_other_tools.md#configuration
select = B,C,E,W,F,T4,B9,B950

[mypy]
python_version = 3.10
Expand Down

0 comments on commit 8400245

Please sign in to comment.