GitHub / PyCQA/flake8-bugbear issues and pull requests
#510 - Check for empty `skip_file_prefixes` in `B028`
Issue -
State: open - Opened by dylwil3 3 months ago
- 1 comment
#509 - drop 3.8, unpin mypy dep in tox, fix typing errors, add some type hints
Pull Request -
State: closed - Opened by jakkdl 3 months ago
#508 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] 4 months ago
#507 - Move project to >= 3.9
Pull Request -
State: closed - Opened by cooperlees 4 months ago
#506 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] 5 months ago
#505 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] 6 months ago
#504 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] 6 months ago
#503 - Ignore B028 if skip_file_prefixes is used
Pull Request -
State: closed - Opened by kasium 7 months ago
- 1 comment
#502 - Add B911: itertools.batched without strict=
Pull Request -
State: closed - Opened by tjkuson 8 months ago
#501 - Skip `B028` if `warnings.warn` is called with `*args` or `**kwargs`
Pull Request -
State: closed - Opened by harupy 8 months ago
- 2 comments
#500 - add except* support to B012&B025
Pull Request -
State: closed - Opened by jakkdl 8 months ago
- 6 comments
#499 - Error collecting tests: missing 1 required positional argument: 'alphabet'
Issue -
State: closed - Opened by Apteryks 8 months ago
- 3 comments
#498 - Rule proposal: require explicit `strict=` argument for `itertools.batched`
Issue -
State: closed - Opened by tjkuson 9 months ago
- 6 comments
#497 - Ignore B028 if skip_file_prefixes is used
Issue -
State: closed - Opened by kasium 9 months ago
- 4 comments
Labels: enhancement, help wanted, terrible_maintainer
#496 - Add B041: Duplicate key-value pairs in dictionary literals
Pull Request -
State: closed - Opened by yangdanny97 9 months ago
- 2 comments
#495 - Fix typo in B037 message
Pull Request -
State: closed - Opened by stefan6419846 9 months ago
#494 - b024 no longer treats assigned class vars as abstract
Pull Request -
State: closed - Opened by jakkdl 9 months ago
#493 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] 10 months ago
#492 - Warn on unnecessary use of `global`
Issue -
State: open - Opened by Zac-HD 11 months ago
- 3 comments
#491 - README: Add anchors for rules and config options
Pull Request -
State: closed - Opened by jtojnar 11 months ago
#490 - Bump required attrs version
Pull Request -
State: closed - Opened by henzef 12 months ago
#489 - Added new check B910 to suggest using Counter() instead of defaultdict(int)
Pull Request -
State: closed - Opened by dejvidq 12 months ago
#488 - Consider adding alru_cache to B019
Issue -
State: open - Opened by Stealthii 12 months ago
- 1 comment
Labels: enhancement, help wanted
#487 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] 12 months ago
- 2 comments
#486 - Replace hash with unsafe_hash
Pull Request -
State: closed - Opened by kasium 12 months ago
- 5 comments
#485 - DeprecationWarning: The `hash` argument is deprecated in favor of `unsafe_hash`
Issue -
State: closed - Opened by kasium 12 months ago
- 1 comment
Labels: bug, help wanted
#484 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] about 1 year ago
#483 - More types
Pull Request -
State: closed - Opened by JelleZijlstra about 1 year ago
#482 - Set up mypy
Pull Request -
State: closed - Opened by JelleZijlstra about 1 year ago
#481 - Do not trigger B901 with explicit Generator return type
Pull Request -
State: closed - Opened by JelleZijlstra about 1 year ago
#480 - Suppress B901 if function explicitly returns Generator
Issue -
State: closed - Opened by JelleZijlstra about 1 year ago
#479 - B017 - assertRaises - ignore when msg param is passed
Issue -
State: closed - Opened by slw07g about 1 year ago
- 3 comments
#478 - Type annotate code via mypy (strict) typechecking all flake8-bugbear code
Issue -
State: open - Opened by cooperlees about 1 year ago
- 4 comments
Labels: enhancement, help wanted
#477 - add b040: exception with note added not reraised or used
Pull Request -
State: closed - Opened by jakkdl about 1 year ago
- 3 comments
#476 - Contextvar mutable or call default
Pull Request -
State: closed - Opened by jakkdl about 1 year ago
- 2 comments
#475 - Feature Request: expand B006 and B008 to also cover `ContextVar` defaults
Issue -
State: closed - Opened by jakkdl about 1 year ago
#474 - Feature request: lint for dropped exception after `.add_note()`
Issue -
State: closed - Opened by Zac-HD about 1 year ago
- 1 comment
#473 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] about 1 year ago
#472 - Incorrect version number 24.4.6?
Issue -
State: closed - Opened by jenstroeger about 1 year ago
- 3 comments
#471 - B024 false negative when there's a class var
Issue -
State: closed - Opened by aureliojargas over 1 year ago
- 1 comment
#470 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
#469 - fix(b909): Fix false positive affecting containers of mutables
Pull Request -
State: closed - Opened by mimre25 over 1 year ago
- 5 comments
#468 - B023: false positive for nested function inside loop
Issue -
State: open - Opened by fwinkl over 1 year ago
- 1 comment
Labels: bug, enhancement, help wanted
#467 - B909 has several false positives on black codebase
Issue -
State: open - Opened by hauntsaninja over 1 year ago
- 7 comments
#466 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
- 1 comment
#465 - B031 does not take into account if-else statements
Issue -
State: open - Opened by amyasnikov over 1 year ago
- 2 comments
Labels: bug, help wanted
#464 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
#463 - Add pragma comment to line length ignores
Pull Request -
State: closed - Opened by Dreamsorcerer over 1 year ago
- 4 comments
#462 - How to handle B015 within pytest.raises blocks
Issue -
State: open - Opened by jvavrek over 1 year ago
- 3 comments
#461 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
#460 - B909 improvements
Pull Request -
State: closed - Opened by mimre25 over 1 year ago
#459 - Remove decorators named validator and root_validator from B902 checks
Pull Request -
State: closed - Opened by natemcmaster over 1 year ago
#458 - Pre commit rst check
Pull Request -
State: closed - Opened by r-downing over 1 year ago
#457 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
#456 - Change B038 to B909 and make it optional
Pull Request -
State: closed - Opened by mimre25 over 1 year ago
- 5 comments
#455 - B038 false positives
Issue -
State: closed - Opened by xqt over 1 year ago
- 5 comments
#454 - B909 improvements
Issue -
State: open - Opened by mimre25 over 1 year ago
- 4 comments
#453 - fix(b038): Restrict rule to mutating functions only
Pull Request -
State: closed - Opened by mimre25 over 1 year ago
- 2 comments
#452 - B018 doesn't trigger for useless expressions involving multiple variables
Issue -
State: open - Opened by swierh over 1 year ago
- 3 comments
Labels: bug, help wanted
#451 - B038 false positive in 24.1.15 + 24.1.16
Issue -
State: closed - Opened by mikaelarguedas over 1 year ago
- 5 comments
Labels: bug, help wanted
#450 - Fix crash on raise with non-Name value
Pull Request -
State: closed - Opened by JelleZijlstra over 1 year ago
#449 - Error in latest version of flake8-bugbear 24.1.15
Issue -
State: closed - Opened by adventurousAyan over 1 year ago
- 4 comments
#448 - refactor(b038): Cleanup unused code in B038Checker
Pull Request -
State: closed - Opened by mimre25 over 1 year ago
#447 - See if hypo* now work with 3.12
Pull Request -
State: closed - Opened by cooperlees over 1 year ago
#446 - feat(rules): Add rule to check for mutations of loop iterator
Pull Request -
State: closed - Opened by mimre25 over 1 year ago
- 2 comments
#445 - Rule to detect changes to iterable object of loop
Issue -
State: closed - Opened by mimre25 over 1 year ago
- 5 comments
Labels: enhancement, help wanted
#444 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
#443 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
#442 - Implement B037 check for yielding or returning values in __init__()
Pull Request -
State: closed - Opened by r-downing over 1 year ago
- 1 comment
#441 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
#440 - Couple new rule suggestions
Issue -
State: open - Opened by r-downing over 1 year ago
- 2 comments
Labels: enhancement, help wanted
#439 - make B017 also apply to BaseException
Pull Request -
State: closed - Opened by r-downing over 1 year ago
#438 - Implement B036 check for `except BaseException` without re-raising
Pull Request -
State: closed - Opened by r-downing over 1 year ago
- 4 comments
#437 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
#436 - Bump actions/setup-python from 4 to 5
Pull Request -
State: closed - Opened by dependabot[bot] over 1 year ago
Labels: dependencies, github_actions
#435 - Detect inline implicit string concatenation
Pull Request -
State: closed - Opened by r-downing over 1 year ago
- 3 comments
#434 - B018 to detect useless-statements at all levels
Pull Request -
State: closed - Opened by r-downing over 1 year ago
- 1 comment
#433 - add classname to b018 useless-expression output
Pull Request -
State: closed - Opened by r-downing over 1 year ago
#432 - include tuples in b018 useless-statement check
Pull Request -
State: closed - Opened by r-downing over 1 year ago
- 1 comment
#431 - add flake8 python version check script and CI check
Pull Request -
State: closed - Opened by r-downing over 1 year ago
#430 - B035: Fix false positive when named expressions are used (#429)
Pull Request -
State: closed - Opened by Daverball over 1 year ago
- 1 comment
#429 - B035: False positive for comprehensions that use a walrus operator
Issue -
State: closed - Opened by Daverball over 1 year ago
#428 - update black version, and exclude the tests/b*** files from formatting checks so they don't break tests
Pull Request -
State: closed - Opened by r-downing over 1 year ago
#427 - add flake8 w/ bugbear to pre-commit config
Pull Request -
State: closed - Opened by r-downing over 1 year ago
- 2 comments
#426 - implement B035 check for static keys in dict-comprehension
Pull Request -
State: closed - Opened by r-downing over 1 year ago
#425 - Add flake8 to pre-commit checks, with local bugbear as a plug-in
Pull Request -
State: closed - Opened by r-downing over 1 year ago
- 5 comments
#424 - #418: Modify B017 to no longer have a false negative when raises() is imported directly from pytest
Pull Request -
State: closed - Opened by azinneck0485 over 1 year ago
#423 - Feature request: a rule for detecting calls to mutate all-caps "constants"
Issue -
State: open - Opened by drew-gill over 1 year ago
- 1 comment
#422 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] over 1 year ago
- 2 comments
#421 - Feature request: a rule for calling super().__init__() in custom exception's __init__()
Issue -
State: open - Opened by m-aciek over 1 year ago
- 3 comments
Labels: enhancement, help wanted
#420 - Fix B026 on attributes
Pull Request -
State: closed - Opened by JelleZijlstra almost 2 years ago
#419 - Improve unit test runner
Issue -
State: open - Opened by JelleZijlstra almost 2 years ago
- 3 comments
#418 - B017: False negative when "from" imports used
Issue -
State: closed - Opened by Klim314 almost 2 years ago
- 2 comments
Labels: bug, enhancement, help wanted
#417 - B026 False negative on class methods
Issue -
State: closed - Opened by Klim314 almost 2 years ago
- 1 comment
#416 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: closed - Opened by pre-commit-ci[bot] almost 2 years ago
- 2 comments
#415 - B902: Add exceptions for standard library metaclasses
Pull Request -
State: closed - Opened by henzef almost 2 years ago
- 1 comment
#414 - Policy on bugbears in usage of popular third party libraries
Issue -
State: open - Opened by Daverball almost 2 years ago
- 2 comments
Labels: help wanted, question
#413 - B902: False positive when using the attrs library
Issue -
State: closed - Opened by henzef almost 2 years ago
- 6 comments
#412 - Add flake8 to pre-commit config
Issue -
State: closed - Opened by jakkdl almost 2 years ago
- 3 comments
Labels: enhancement, help wanted
#411 - False-positive B902 on custom metaclass extending ABCMeta
Issue -
State: open - Opened by alexey-pelykh almost 2 years ago
- 8 comments
Labels: bug