From 7ebc2408dfd673f54357710c6086817cc8e2c538 Mon Sep 17 00:00:00 2001 From: Jason Ng <116290832+jason490@users.noreply.github.com> Date: Mon, 6 Nov 2023 13:29:53 -0500 Subject: [PATCH] Changed to use recursive to scan for files --- .../software_and_system_design/coding_style_guide/python.md | 2 +- _docs/developer/testing/linting_static_analysis.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_docs/developer/software_and_system_design/coding_style_guide/python.md b/_docs/developer/software_and_system_design/coding_style_guide/python.md index 1e38bfb3..f6ec3d7d 100644 --- a/_docs/developer/software_and_system_design/coding_style_guide/python.md +++ b/_docs/developer/software_and_system_design/coding_style_guide/python.md @@ -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. \ No newline at end of file +For pylint, you can just run `pylint --recursive=y .` at the root to check all files or pass it an individual file. \ No newline at end of file diff --git a/_docs/developer/testing/linting_static_analysis.md b/_docs/developer/testing/linting_static_analysis.md index 527981b2..968ebfe4 100644 --- a/_docs/developer/testing/linting_static_analysis.md +++ b/_docs/developer/testing/linting_static_analysis.md @@ -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).