Skip to content

Commit

Permalink
Try a different ini format comment and also switch black to fail if f…
Browse files Browse the repository at this point in the history
…iles need reformatting
  • Loading branch information
philipstarkey committed Mar 8, 2024
1 parent f7f56a4 commit 4930dc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[flake8]
extend-ignore = E203 ; Spaces before ":", which conflicts with black
# Ignore spaces before ":", which conflicts with black
extend-ignore = E203

[wheel]
universal = 1
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ deps =
extras = test

[testenv:black]
commands = black rest_framework_serializer_extensions tests
commands = black rest_framework_serializer_extensions tests --check --diff
skip_install = true
deps =
-crequirements-dev.txt
Expand Down

0 comments on commit 4930dc8

Please sign in to comment.