Skip to content

Commit 0569e5f

Browse files
committed
Fix ruff exclusions without losing file count
1 parent c2dd693 commit 0569e5f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.mega-linter.yml

-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@ ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be
2323
- YAML_YAMLLINT
2424

2525
PYTHON_RUFF_CONFIG_FILE: pyproject.toml
26-
PYTHON_RUFF_CLI_LINT_MODE: project
2726
PYTHON_RUFF_FORMAT_CONFIG_FILE: pyproject.toml
28-
PYTHON_RUFF_FORMAT_CLI_LINT_MODE: project

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
output-format = "grouped"
33
line-length = 120
44
target-version = "py37"
5+
force-exclude = true # Fixes issue with megalinter config preventing exclusion of files
56
extend-exclude = [
67
"newrelic/packages/",
78
"setup.py",

0 commit comments

Comments
 (0)