lapjv
lapjv copied to clipboard
Bump flake8-bugbear from 22.3.23 to 23.2.13
Bumps flake8-bugbear from 22.3.23 to 23.2.13.
Release notes
Sourced from flake8-bugbear's releases.
23.2.13
- B906: Add
visit_Bytes,visit_Numandvisit_Strto the list ofvisit_*functions that are ignored by the B906 check. Theast.Bytes,ast.Numandast.Strnodes 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
exceptwith 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 amatchargument. (#334)- B906: Ignore
visit_functions with a_fieldsattribute 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 avisitfunction. (#313)- Add B028: Suggest
!rwhen formatted value in f-string is surrounded by quotes. (#319)22.12.6
- Add B905:
zip()without an explicitstrict=parameter. (#314)- B027: ignore
@overloadwhen typing is imported with other names (#309)22.10.27
- B027: Ignore
@overloaddecorator (#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.tomlpackage (#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
... (truncated)
Commits
1d87dc8Update README + version for 23.2.13 release76aa16bAdd B032: Check for possible unintentional type annotations instead of assign...a7c7ac9Merge pull request #347 from malthejorgensen/groupby-multiple-usages4087f49[pre-commit.ci] pre-commit autoupdate (#348)05a26c7Add B031: Warn when usinggroupby()result multiple times9ea5a34Introduce B030; fix crash on weird except handlers (#346)315f4e7Split B001 into B029 for empty tuple exception handling (#344)a25fa41Fix BO28 README typo (#343)e7bbdebAdd a lint checking for warnings.warn stacklevel argument (#342)a2e0c95B016: Warn when raising f-strings (#341)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)