do not format contrib/ with black (#6208)

This commit is contained in:
Maximilian Hils 2023-06-26 01:26:21 +02:00 committed by GitHub
parent 36bac0da79
commit e40a109019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,7 @@ jobs:
- run: autoflake --in-place --remove-all-unused-imports --exclude mitmproxy/contrib -r .
- uses: install-pinned/black@91bfc65283b1e8e9abac5d9e2a092c03c2ffddb8
- run: black --extend-exclude mitmproxy/contrib .
- run: black .
- name: Run prettier
run: |

View File

@ -157,6 +157,9 @@ ignore_errors = true
module = "test.*"
ignore_errors = true
[tool.black]
extend_exclude = "mitmproxy/contrib/"
[tool.tox]
legacy_tox_ini = """
[tox]