File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ style-check-python:
6161 @$(LOCAL_PYTHON_BIN ) -m black $(LINT_ENFORCE_DIRS ) --check
6262 @$(LOCAL_PYTHON_BIN ) -m isort $(LINT_ENFORCE_DIRS ) --check-only
6363
64+ # NOTE: pylint and ruff use pyproject.toml to temporarily exclude a few paths
6465.PHONY : lint-python
6566lint-python :
6667 @$(LOCAL_PYTHON_BIN ) -m pylint $(LINT_ENFORCE_DIRS ) --errors-only
Original file line number Diff line number Diff line change 11# Project wide settings including tooling.
22
33# Linting tools
4- # TODO: fix CodeQL errors in symlinked files and disable extend-exclude+skip
4+
5+ # TODO: fix CodeQL errors and disable temporary named files with NOTEs below
56
67[tool .black ]
78line-length = 80
89exclude = '''
910 tests/data/
1011 | tests/fixture/
1112'''
12- # NOTE: the following regex matches must be kept in sync with isort skip
13+ # NOTE: the following temporay excludes must be kept in sync between tools
1314extend-exclude = '''
1415 bin/checkconf.py
1516 | bin/createresource.py
@@ -24,7 +25,7 @@ extend-exclude = '''
2425profile = " black"
2526line_length = 80
2627skip_glob = [" .git/*" , " tests/data/*" , " tests/fixture/*" ]
27- # NOTE: the following paths must be kept in sync with black extend-exclude
28+ # NOTE: the following temporay excludes must be kept in sync between tools
2829skip = [
2930 " bin/checkconf.py" ,
3031 " bin/createresource.py" ,
@@ -41,7 +42,7 @@ ignore-pattern = '''
4142 tests/data/
4243 | tests/fixture/
4344'''
44- # NOTE: the following paths must be kept in sync with black extend-exclude
45+ # NOTE: the following temporay excludes must be kept in sync between tools
4546ignore-paths = [
4647 " bin/checkconf.py" ,
4748 " bin/createresource.py" ,
@@ -55,7 +56,7 @@ ignore-paths = [
5556[tool .ruff ]
5657line-length = 80
5758exclude = [" .git/" , " tests/data/" , " tests/fixture/" ]
58- # NOTE: the following regex matches must be kept in sync with isort skip
59+ # NOTE: the following temporay excludes must be kept in sync between tools
5960extend-exclude = [
6061 " bin/checkconf.py" ,
6162 " bin/createresource.py" ,
You can’t perform that action at this time.
0 commit comments