fix(test): 🧪 pre-commit's whitespace exclude and test case fix for whiespace

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
This commit is contained in:
Onuralp SEZER 2023-11-15 17:01:57 +03:00
parent 8025b468a2
commit b9573605c7
No known key found for this signature in database
GPG Key ID: CF0835DFDF14CA38
3 changed files with 3 additions and 4 deletions

View File

@ -11,6 +11,7 @@ repos:
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: test/.*\.py
- id: check-yaml
- id: check-docstring-first
- id: check-executables-have-shebangs

View File

@ -82,7 +82,6 @@ extend-ignore = """
per-file-ignores = """
__init__.py: F401
supervision/assets/list.py: E501
test/utils/test_file.py: W291
"""
[tool.isort]
@ -173,7 +172,6 @@ convention = "google"
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402","F401"]
"supervision/assets/list.py" = ["E501"]
"test/utils/test_file.py" = ["W291"]
[tool.ruff.pylint]

View File

@ -11,12 +11,12 @@ Line 2
Line 3
"""
FILE_2_CONTENT = """
FILE_2_CONTENT = """
Line 2
Line 4
"""
""" # noqa
FILE_3_CONTENT = """
Line 2