Revisions of python-flake8-bugbear

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1161533 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 19)
- update to 24.2.6:
  * B902: Remove decorators named validator and root_validator
    from B902 checks
  * B038: Change B038 to B909 and make it optional
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1140112 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 18)
- update to 24.1.17:
  * B038: Restrict rule to mutation functions only
- update to 24.1.16:
  * B036: Fix crash on ``raise`` statements raising something
    other than
- update to 24.1.15:
  * B038: Add check for mutations of loop iterator
  * B037: Add check for yielding or returning values in
    __init__()
  * B017: make B017 also apply to BaseException
  * B036: Add check for except BaseException without re-raising
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1130855 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 17)
- update to 23.12.2:
  * B018: to detect useless-statements at all levels (#434)
  * B018: Add classname to b018 useless-expression output (#433)
  * B018: Include tuples in b018 useless-statement check (#432)
- update to 23.11.28:
  * B035: Fix false positive when named expressions are used
    (#430)
- update to 23.11.26:
  * B035: add check for static keys in dict-comprehension (#426)
  * B902: Add exceptions for standard library metaclasses (#415)
  * B017: Modify to no longer have a false negative when raises()
    is imported directly from pytest (#424)
  * B026: Fix bug where the check was not triggered for calls
    where the caller is an attribute (#420)

    * Black all the .py files - Like one should (#48)
    * Fix pathlib link in readme (#36)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1111899 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 16)
- update to 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)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1098207 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 15)
- update to 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1092178 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 14)
- update to 23.6.5:
  * Include tox.ini in MANIFEST.in for sdist.
  * Improve B033 (duplicate set items)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1087744 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- update to 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1083470 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 12)
- update to 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:``)
  * 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1067208 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 11)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1043218 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 10)
- update to 22.12.6 (bsc#1206225):
  * Add B905: `zip()` without an explicit `strict=` parameter. (#314)
  * B027: ignore @overload when typing is imported with other names (#309)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 794563 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 6)
- Update to 20.1.4:
  * Ignore keywords for B009/B010
  * Silence B009/B010 for non-identifiers
  * State an ignore might be needed for optional B9x checks
  * Fix error on attributes-of-attributes in except (...): clauses
  * Allow continue/break within loops in finally clauses for B012
  * For B001, also check for except ():
  * Introduce B013 and B014 to check tuples in except (..., ): statements
  * Warn about continue/return/break in finally block (#100)
  * Removed a colon from the descriptive message in B008. (#96)
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 730552 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 5)
- Update to 19.8.0:
  * Fix .travis.yml syntax + add Python 3.8 + nightly tests
  * Fix black formatting + enforce via CI
  * Make B901 not apply to __await__ methods
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 690380 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 4)
- Update to 19.3.0:
  * allow 'mcs' for metaclass classmethod first arg (PyCharm default)
  * Introduce B011
  * Introduce B009 and B010
  * Exclude immutable calls like tuple() and frozenset() from B008
  * For B902, the first argument for metaclass class methods can be "mcs", matching the name preferred by PyCharm.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 623630 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 2)
- This module requires py3.5+ thus restrict the build
Displaying all 19 revisions
openSUSE Build Service is sponsored by