Black does match just fine
This commit is contained in:
parent
fc91f6863d
commit
e0dda396bc
|
@ -7,8 +7,6 @@ repos:
|
|||
rev: 22.1.0
|
||||
hooks:
|
||||
- id: black
|
||||
exclude: tests/test_pattern_matching.py
|
||||
language_version: python3.10
|
||||
|
||||
- repo: https://github.com/PyCQA/isort
|
||||
rev: 5.10.1
|
||||
|
@ -16,7 +14,6 @@ repos:
|
|||
- id: isort
|
||||
additional_dependencies: [toml]
|
||||
files: \.py$
|
||||
language_version: python3.10
|
||||
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 4.0.1
|
||||
|
@ -30,7 +27,6 @@ repos:
|
|||
- id: interrogate
|
||||
exclude: tests/test_pattern_matching.py
|
||||
args: [tests]
|
||||
language_version: python3.10
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
|
@ -38,6 +34,5 @@ repos:
|
|||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: debug-statements
|
||||
language_version: python3.10
|
||||
- id: check-toml
|
||||
- id: check-yaml
|
||||
|
|
|
@ -23,10 +23,6 @@ exclude_lines = [
|
|||
|
||||
[tool.black]
|
||||
line-length = 79
|
||||
extend-exclude = '''
|
||||
# Exclude pattern matching test till black gains Python 3.10 support
|
||||
.*test_pattern_matching.*
|
||||
'''
|
||||
|
||||
|
||||
[tool.interrogate]
|
||||
|
|
Loading…
Reference in New Issue