-
Notifications
You must be signed in to change notification settings - Fork 108
Comparing changes
Open a pull request
base repository: PyCQA/flake8-bugbear
base: 22.1.11
head repository: PyCQA/flake8-bugbear
compare: 22.4.25
- 20 commits
- 14 files changed
- 9 contributors
Commits on Jan 27, 2022
-
Add B020 check to find for-loop control variable overiding iter set (#…
…220) * Implement rule B020: for-loop control variable overrides iter set * Update tests/b020.py Co-authored-by: Cooper Lees <me@cooperlees.com>
Configuration menu - View commit details
-
Copy full SHA for f1d1a53 - Browse repository at this point
Copy the full SHA f1d1a53View commit details
Commits on Feb 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d479f5a - Browse repository at this point
Copy the full SHA d479f5aView commit details
Commits on Mar 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3206da7 - Browse repository at this point
Copy the full SHA 3206da7View commit details
Commits on Mar 20, 2022
-
B021: f-string used as docstring. (#230)
* B021: f-string used as docstring. * Update README.rst * Update bugbear.py Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com> * There are more docstrings than just triple double quotes! Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c5223e0 - Browse repository at this point
Copy the full SHA c5223e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83a8227 - Browse repository at this point
Copy the full SHA 83a8227View commit details -
Add B019 check to find cache decorators on class methods (#218)
* Add B019 check to find cache decorators on class methods * B019: Change decorator resolution approach to retain lineno Starting in Python 3.8, the function node definition's `lineno` is changed to index its `def ...` line rather than the first line where its decorators start. This causes inconsistent line numbers across Python versions for the line reported by Flake8. We can use the decorator node location instead, which provides a consistent location, and makes sense because this hits on decorators. * Update README verbiage * Prefer `extend-select` and `extend-ignore` for configuring opinionated warnings (`B9`) * Add deprecation note for Bugbear's internal handling of whether or not to emit `B9` codes * Add an example for `extend-immutable-call` specification * B9: Make Bugbear aware of flake8's `extend-select` * The code for Bugbear's built-in filtering for opinionated warnings predates the addition of `extend-select` to flake8 (`v4.0`) so it's not part of the check for explicit specification of `B9` codes. * Switch from `Mock` to `argparse.Namespace` for specifying options to tests to match the incoming type from `flake8` and avoid mocking side-effects. * Style fixes from review Co-authored-by: Cooper Ry Lees <me@cooperlees.com> Co-authored-by: Cooper Ry Lees <me@cooperlees.com>
Configuration menu - View commit details
-
Copy full SHA for 4a92ce5 - Browse repository at this point
Copy the full SHA 4a92ce5View commit details -
B022: No arguments passed to contextlib.suppress (#231)
* B022: No arguments passed to contextlib.suppress * Update README.rst * Disclaimer note on rule scope
Configuration menu - View commit details
-
Copy full SHA for e389294 - Browse repository at this point
Copy the full SHA e389294View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0069532 - Browse repository at this point
Copy the full SHA 0069532View commit details
Commits on Mar 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 77dc992 - Browse repository at this point
Copy the full SHA 77dc992View commit details
Commits on Mar 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a4dc2b7 - Browse repository at this point
Copy the full SHA a4dc2b7View commit details
Commits on Mar 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0e30194 - Browse repository at this point
Copy the full SHA 0e30194View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea0bd48 - Browse repository at this point
Copy the full SHA ea0bd48View commit details -
B006 and B008: Cover additional test cases (#239)
* B006 and B008: Cover additional test cases * Add change log entry * Account for inconsistent ast between python versions * Use ast.literal_eval to simplify infinity float detection
Configuration menu - View commit details
-
Copy full SHA for f9e0f77 - Browse repository at this point
Copy the full SHA f9e0f77View commit details -
Configuration menu - View commit details
-
Copy full SHA for c255c1b - Browse repository at this point
Copy the full SHA c255c1bView commit details
Commits on Mar 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 40a9381 - Browse repository at this point
Copy the full SHA 40a9381View commit details
Commits on Mar 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e24eb10 - Browse repository at this point
Copy the full SHA e24eb10View commit details
Commits on Mar 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d4afd14 - Browse repository at this point
Copy the full SHA d4afd14View commit details
Commits on Mar 30, 2022
-
Ignore black formatting for b013 test case (#251)
* Ignore black formatting for b013 test case * Ack, needed to updated expected test result lineno
Configuration menu - View commit details
-
Copy full SHA for 4338842 - Browse repository at this point
Copy the full SHA 4338842View commit details -
[pre-commit.ci] pre-commit autoupdate (#247)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 22.1.0 → 22.3.0](psf/black@22.1.0...22.3.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update b013.py Re add brackets Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Cooper Lees <me@cooperlees.com>
Configuration menu - View commit details
-
Copy full SHA for f2bf7f8 - Browse repository at this point
Copy the full SHA f2bf7f8View commit details
Commits on Apr 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bab0965 - Browse repository at this point
Copy the full SHA bab0965View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 22.1.11...22.4.25