Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin flake8-bugbear to latest version 23.9.16 #54

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

This PR pins flake8-bugbear to the latest release 23.9.16.

Changelog

23.9.16

* add --classmethod-decorators (405)
* fix name collision for node_stack on python 3.12 (406)
* Use pypa/build to build the package (404)

23.7.10

* Add B034: re.sub/subn/split must pass flags/count/maxsplit as keyword arguments.
* Fix a crash and several test failures on Python 3.12, all relating to the B907
check.
* Declare support for Python 3.12.

23.6.5

* Include tox.ini in MANIFEST.in for sdist. (389)
* Improve B033 (duplicate set items) (385)

23.5.9

* Add B033: Detect duplicate items in sets
* Add B908: Detect assertRauses like contexts only has top level statements that could throw
* Add B028: Allow stacklevel to be explicitly assigned as a positional argument
* Remove more < 3.8 checks / assertions

23.3.23

* flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0
* This has allowed some more modern AST usage cleanup and less CI running etc.
* B030: Fix crash on certain unusual except handlers (e.g. ``except a[0].b:``)

23.3.12

* B950: now ignores 'noqa' and 'type: ignore' comments.
* B005: Do not flag when using the ``strip()`` method on an imported module.
* B030: Allow calls and starred expressions in except handlers.

23.2.13

* B906: Add ``visit_Bytes``, ``visit_Num`` and ``visit_Str`` to the list of ``visit_*``
functions that are ignored by the B906 check. The ``ast.Bytes``, ``ast.Num`` and
``ast.Str`` nodes are all deprecated, but may still be used by some codebases in
order to maintain backwards compatibility with Python 3.7.
* B016: Warn when raising f-strings.
* Add B028: Check for an explicit stacklevel keyword argument on the warn method from the warnings module.
* Add B029: Check when trying to use ``except`` with an empty tuple i.e. ``except: ()``.
* Add B032: Check for possible unintentional type annotations instead of assignments.

23.1.20

* B024: now ignores classes without any methods. (336)
* B017: Don't warn when ``pytest.raises()`` has a ``match`` argument. (334)
* B906: Ignore ``visit_`` functions with a ``_fields`` attribute that can't contain ast.AST subnodes. (330)

23.1.17

* Rename B028 to B907, making it optional/opinionated.

23.1.14

* Add B906: ``visit_`` function with no further calls to a ``visit`` function. (313)
* Add B028: Suggest ``!r`` when formatted value in f-string is surrounded by quotes. (319)

22.12.6

* Add B905: `zip()` without an explicit `strict=` parameter. (314)
* B027: ignore overload when typing is imported with other names (309)

22.10.27

* B027: Ignore overload decorator (306)
* B023: Also fix map (305)
* B023: Avoid false alarms with filter, reduce, key= and return. Added tests for functools (303)

22.10.25

* Make B015 and B018 messages slightly more polite (298)
* Add B027: Empty method in abstract base class with no abstract decorator
* Multiple B024 false positive fixes
* Move CI to use `tox` (294)
* Move to using PEP621 / `pyproject.toml` package (291)
* Tested in 3.11

22.9.23

* add B026: find argument unpacking after keyword argument (287)
* Move to setup.cfg like flake8 (288)

22.9.11

* Add B025: Find duplicate except clauses (284)

22.8.23

* Add B024 error code to message for B024 (276)

22.8.22

* Add B024: abstract base class with no abstract methods (273)

22.7.1

* Implement late-binding loop check (265)
* [late-binding closures are a classic gotcha](https://docs.python-guide.org/writing/gotchas/#late-binding-closures>).

22.6.22

* Don't crash when select / extend_select are None (261)
* Unlocks new flake8 release - Thanks asottile 
* Ignore lambda arguments for B020 (259)
* Fix missing space typos in B021, B022 error messages (257)

22.4.25

* Ignore black formatting for b013 test case (251)
* B010 Fix lambda false positive (246)
* B008 Fix edge case with lambda functions (243)

22.3.23

* B006 and B008: Detect function calls at any level of the default expression (239)
* B020: Fix comprehension false postives (238)
* Tweak B019 desc (237)

22.3.20

* B022: No arguments passed to contextlib.suppress (231)
* B021: f-string used as docstring. (230)
* B020: ensure loop control variable doesn't overrides iterable it iterates (220)
* B019: check to find cache decorators on class methods (218)
* Fix crash on long empty string (223)

22.1.11

* B018: Ignore JoinedStr (216)
* Build universal Python 3 wheels (214)
* B950: Add same special cases as E501 (213)

21.11.29

* B018: Disable strings from check for now (209)

21.11.28

* B904: ensure the raise is in the same context with the except (191)
* Add Option to extend the list of immutable calls (204)
* Update B014: ``binascii.Error`` is now treated as a subclass of ``ValueError`` (206)
* add simple pre-commit config (205)
* Test with 3.10 official
* Add B018 check to find useless declarations (196, 202)

21.9.2

* Fix crash on call in except statement in _to_name_str (187)
* Update B006: list, dictionary, and set comprehensions are now also disallowed (186)

21.9.1

* Update B008: Whitelist more immutable function calls (173)
* Remove Python Compatibility Warnings (182)
* Add B904: check for ``raise`` without ``from`` in an ``except`` clause (181)
* Add Python 3.10 tests to ensure we pass (183)

21.4.3

Verify the element in item_context.args is of type ast.Name for b017

21.4.2

- Add another hasattr() check to b017 visit for .func

21.4.1

Happy April Fools! This is no joke, it's a real release.

- Add B017: check for gotta-catch-em-all assertRaises(Exception)

Catching them all is bad!

21.3.2

- Fix crash on tuple expansion in try/except block (161)

21.3.1

- Fix grammar in B015 (150)
- Make sure float infinity/NaN does not trigger B008 (155)
- Handle positional-only args in class methods (158)

20.11.1

- Support exception aliases properly in B014 (129)
- Add B015: Pointless comparison (130)
- Remove check for  noqa comments (134)
- Ignore exception classes which are not types (135)
- Introduce B016 to check for raising a literal. (141)
- Exclude types.MappingProxyType() from B008. (144)

20.1.4

- Ignore keywords for B009/B010

20.1.3

- Silence B009/B010 for non-identifiers
- State an ignore might be needed for optional B9x checks

20.1.2

Refer to README.rst for changes.

20.1.1

Refer to README.rst for changes.

20.1.0

Refer to README.md for changes.

19.8.0

Refer to README.md for changes.

19.3.0

Refer to README.md for changes.
Links

@penguinolog penguinolog deleted the pyup-pin-flake8-bugbear-23.9.16 branch November 22, 2023 13:54
@coveralls
Copy link

Pull Request Test Coverage Report for Build 6958210193

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.125%

Totals Coverage Status
Change from base Build 6958208157: 0.0%
Covered Lines: 234
Relevant Lines: 243

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants