mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 04:00:54 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# flake8
|
||||
|
||||
> Check the style and quality of Python code.
|
||||
> More information: <https://flake8.pycqa.org/>.
|
||||
> More information: <https://flake8.pycqa.org/en/latest/user/options.html>.
|
||||
|
||||
- Lint a file or directory recursively:
|
||||
|
||||
@@ -16,9 +16,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`flake8 --show-source {{path/to/file_or_directory}}`
|
||||
|
||||
- Lint a file or directory recursively and ignore a list of rules. (All available rules can be found at flake8rules.com):
|
||||
- Lint a file or directory recursively and ignore a list of rules. (All available rules can be found at <https://www.flake8rules.com/>):
|
||||
|
||||
`flake8 --ignore {{rule1,rule2}} {{path/to/file_or_directory}}`
|
||||
`flake8 --ignore {{rule1,rule2,...}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Lint a file or directory recursively but exclude files matching the given globs or substrings:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user