15
0
Commit Graph

6 Commits

Author SHA256 Message Date
Tomáš Chvátal
1ec54514b3 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=13
2020-04-16 11:16:35 +00:00
Tomáš Chvátal
59fa456658 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=11
2019-09-13 07:41:59 +00:00
Tomáš Chvátal
ab5573ce7f - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=9
2019-04-01 13:31:42 +00:00
Tomáš Chvátal
009964884e Accepting request 646131 from home:mcepl:work
- Update to 18.8.0:
    * Exclude immutable calls like tuple() and frozenset() from B008
    * Examine kw-only args for mutable defaults
    * Black all the .py files - Like one should (#48) 
    * Add testing and document support for the Python 3.7 release
    * Avoid adding the visitor as an __init__ parameter (Fixes #39)
      (#40)
    * Add trove classifier 'Programming Language :: Python :: 3 :: Only'
    * Fix pathlib link in readme (#36)

OBS-URL: https://build.opensuse.org/request/show/646131
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=7
2018-11-04 09:33:52 +00:00
74442292f8 Accepting request 623630 from devel:languages:python
- This module requires py3.5+ thus restrict the build

OBS-URL: https://build.opensuse.org/request/show/623630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-bugbear?expand=0&rev=2
2018-07-18 20:57:11 +00:00
768173f45d Accepting request 621905 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/621905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-bugbear?expand=0&rev=1
2018-07-12 07:18:32 +00:00