Skip to content

Commit

Permalink
Changed to use recursive to scan for files
Browse files Browse the repository at this point in the history
  • Loading branch information
jason490 committed Nov 6, 2023
1 parent a737be9 commit 7ebc240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ pip3 install flake8 flake8-bugbear pylint
and then you can just run `flake8` at the root to check all files or pass it an individual file to check just that.
To see all files that are currently checked as part of Travis-CI, please look at the `.flake8` config file.

For pylint, you can just run `pylint *.py` at the root to check all files or pass it an individual file.
For pylint, you can just run `pylint --recursive=y .` at the root to check all files or pass it an individual file.
2 changes: 1 addition & 1 deletion _docs/developer/testing/linting_static_analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ level of Submitty source tree:
python3 -m flake8

# from root level of Submitty repository using pylint
python3 -m pylint *.py
python3 -m pylint --recursive=y .
```

_NOTE: Our Travis CI testing currently [excludes a number of legacy source code files](https://github.com/Submitty/Submitty/blob/master/.flake8).
Expand Down

0 comments on commit 7ebc240

Please sign in to comment.