Skip to content
Snippets Groups Projects
Unverified Commit 31c5382d authored by Andrew Morgan's avatar Andrew Morgan Committed by GitHub
Browse files

Align the directories linted in CI with the defaults in scripts-dev/lint.sh (#9191)

The lists of source directories to lint between `tox.ini` and `lint.sh` became out of sync. This PR tightens them up and adds some comments reminding any future readers to keep the list in sync.
parent 758ed5f1
No related branches found
No related tags found
No related merge requests found
Add some missing source directories to the automatic linting script.
\ No newline at end of file
...@@ -80,7 +80,8 @@ else ...@@ -80,7 +80,8 @@ else
# then lint everything! # then lint everything!
if [[ -z ${files+x} ]]; then if [[ -z ${files+x} ]]; then
# Lint all source code files and directories # Lint all source code files and directories
files=("synapse" "tests" "scripts-dev" "scripts" "contrib" "synctl" "setup.py" "synmark") # Note: this list aims the mirror the one in tox.ini
files=("synapse" "docker" "tests" "scripts-dev" "scripts" "contrib" "synctl" "setup.py" "synmark" "stubs" ".buildkite")
fi fi
fi fi
......
...@@ -24,7 +24,8 @@ deps = ...@@ -24,7 +24,8 @@ deps =
# install the "enum34" dependency of cryptography. # install the "enum34" dependency of cryptography.
pip>=10 pip>=10
# directories/files we run the linters on # directories/files we run the linters on.
# if you update this list, make sure to do the same in scripts-dev/lint.sh
lint_targets = lint_targets =
setup.py setup.py
synapse synapse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment