Skip to content

Commit

Permalink
Used black's force-exclude instead of extend-exclude. (#2475)
Browse files Browse the repository at this point in the history
When using VS code black plugin, because the filename is passed
explicitly, the file referred to in `extend-exclude` is not properly
excluded. Use `force-exclude` instead to say we really mean it.

see psf/black#438
  • Loading branch information
chassing authored Jun 20, 2022
1 parent 826cc86 commit 5976463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
line-length = 88
target-version = ['py39']
include = '^.*\.py$'
extend-exclude = '''
force-exclude = '''
^/(
reconcile/terraform_resources.py
| reconcile/utils/terraform_client.py
Expand Down

0 comments on commit 5976463

Please sign in to comment.