Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: flake8-eyeo/README.md

Issue 29634555: NoIssue - Detect redundant comparisons Base URL: https://hg.adblockplus.org/codingtools
Patch Set: Created Dec. 10, 2017, 6:10 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | flake8-eyeo/flake8_eyeo.py » ('j') | flake8-eyeo/flake8_eyeo.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # flake8-eyeo 1 # flake8-eyeo
2 2
3 A [flake8](https://flake8.readthedocs.io) extension that checks for compliance 3 A [flake8](https://flake8.readthedocs.io) extension that checks for compliance
4 with the 4 with the
5 [Adblock Plus coding style guide](https://adblockplus.org/coding-style#python) 5 [Adblock Plus coding style guide](https://adblockplus.org/coding-style#python)
6 which is used for all eyeo projects, and some bad practices which flake8 doesn't 6 which is used for all eyeo projects, and some bad practices which flake8 doesn't
7 handle by default. 7 handle by default.
8 8
9 9
10 ## Installation 10 ## Installation
(...skipping 29 matching lines...) Expand all
40 40
41 ### Redundancy and complexity 41 ### Redundancy and complexity
42 42
43 * `A201`: Redundant or superfluos `global` or `nonlocal` declaration 43 * `A201`: Redundant or superfluos `global` or `nonlocal` declaration
44 * `A202`: Dead code after block is left 44 * `A202`: Dead code after block is left
45 * `A303`: Unused expression 45 * `A303`: Unused expression
46 * `A204`: Redundant or superfluos pass statement 46 * `A204`: Redundant or superfluos pass statement
47 * `A205`: Superfluos empty block 47 * `A205`: Superfluos empty block
48 * `A206`: Extraneous `else` statement after block is left 48 * `A206`: Extraneous `else` statement after block is left
49 * `A207`: Duplicate key in dict or set 49 * `A207`: Duplicate key in dict or set
50 * `A208`: Redundant comparisons
50 51
51 52
52 ### Error-prone practices 53 ### Error-prone practices
53 54
54 * `A301`: Discouraged APIs 55 * `A301`: Discouraged APIs
55 * `A302`: Redefinition of built-in name 56 * `A302`: Redefinition of built-in name
56 * `A303`: Non-default source file encoding 57 * `A303`: Non-default source file encoding
OLDNEW
« no previous file with comments | « no previous file | flake8-eyeo/flake8_eyeo.py » ('j') | flake8-eyeo/flake8_eyeo.py » ('J')

Powered by Google App Engine
This is Rietveld