35 Commits

Author SHA256 Message Date
Dominique Leuenberger
d1fb367367 Accepting request 1219200 from devel:languages:python
- update to 3.16.0:
  * Drop Python 3.8 support.
  * Support Python 3.13.

OBS-URL: https://build.opensuse.org/request/show/1219200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=17
2024-10-30 16:36:44 +00:00
7f2236999c - update to 3.16.0:
* Drop Python 3.8 support.
  * Support Python 3.13.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=34
2024-10-29 21:40:51 +00:00
Dominique Leuenberger
b2871650c1 Accepting request 1193961 from devel:languages:python
- switch to modern python on sle15

OBS-URL: https://build.opensuse.org/request/show/1193961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=16
2024-08-16 10:23:14 +00:00
80e01b1f41 - switch to modern python on sle15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=32
2024-08-14 15:15:36 +00:00
Dominique Leuenberger
851e6d0344 Accepting request 1184214 from devel:languages:python
- update to 3.15.0:
  * Add rule C420 to check for dict comprehensions with constant
    values, encouraging replacement with dict.fromkeys().

- drop unmaintained and unused pytest-flake8dir

OBS-URL: https://build.opensuse.org/request/show/1184214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=15
2024-07-01 09:22:14 +00:00
fe93c48b6d - update to 3.15.0:
* Add rule C420 to check for dict comprehensions with constant
    values, encouraging replacement with dict.fromkeys().
- drop unmaintained and unused pytest-flake8dir

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=30
2024-07-01 07:38:34 +00:00
Dominique Leuenberger
01bf269980 Accepting request 1153128 from devel:languages:python
Forwarded request #1152490 from bnavigator

- Add flake8-comprehensions-pr559-notnormalized.patch
    gh#adamchainz/flake8-comprehensions#559

OBS-URL: https://build.opensuse.org/request/show/1153128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=14
2024-02-29 20:50:18 +00:00
ec51a163a8 Accepting request 1152490 from home:bnavigator:branches:devel:languages:python
- Add flake8-comprehensions-pr559-notnormalized.patch
  gh#adamchainz/flake8-comprehensions#559

OBS-URL: https://build.opensuse.org/request/show/1152490
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=28
2024-02-29 09:02:22 +00:00
Dominique Leuenberger
9db930859b Accepting request 1098178 from devel:languages:python
- update to 3.14.0:
  * Drop Python 3.7 support.

OBS-URL: https://build.opensuse.org/request/show/1098178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=13
2023-07-12 15:27:09 +00:00
b77907bc1d - update to 3.14.0:
* Drop Python 3.7 support.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=26
2023-07-11 13:33:44 +00:00
Dominique Leuenberger
33356ea967 Accepting request 1094121 from devel:languages:python
- update to 3.13.0:
  * Support Python 3.12.

OBS-URL: https://build.opensuse.org/request/show/1094121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=12
2023-06-21 20:38:57 +00:00
ddd1b5935c - update to 3.13.0:
* Support Python 3.12.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=24
2023-06-20 16:18:31 +00:00
Dominique Leuenberger
8cf5d9dd7a Accepting request 1084906 from devel:languages:python
- drop unmaintained and unused pytest-flake8dir

OBS-URL: https://build.opensuse.org/request/show/1084906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=11
2023-05-05 13:58:32 +00:00
ffd8c4f5e3 - drop unmaintained and unused pytest-flake8dir
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=22
2023-05-04 23:20:30 +00:00
Dominique Leuenberger
6f3d65b696 Accepting request 1079170 from devel:languages:python
- update to 3.12.0:
  * Add rule C418 to check for calls passing a dict literal or
    dict comprehension to ``dict()``.
  * Add rule C419 to check for calls passing a list comprehension
    to ``any()``/``all()``.

OBS-URL: https://build.opensuse.org/request/show/1079170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=10
2023-04-13 13:30:49 +00:00
4da1e2d4ca - update to 3.12.0:
* Add rule C418 to check for calls passing a dict literal or
    dict comprehension to ``dict()``.
  * Add rule C419 to check for calls passing a list comprehension
    to ``any()``/``all()``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=20
2023-04-13 12:27:19 +00:00
Dominique Leuenberger
967d9f17b8 Accepting request 1073581 from devel:languages:python
- update to 3.11.1:
  * Fix false positives in C406 “unnecessary dict literal”.
  * Expand C416 to ``dict`` comprehensions.

OBS-URL: https://build.opensuse.org/request/show/1073581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=9
2023-03-21 16:44:46 +00:00
00311cfbf6 - update to 3.11.1:
* Fix false positives in C406 “unnecessary dict literal”.
  * Expand C416 to ``dict`` comprehensions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=18
2023-03-21 15:42:45 +00:00
Dominique Leuenberger
3de4f58bce Accepting request 1071258 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1071258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=8
2023-03-14 17:17:02 +00:00
f90f874ae7 Accepting request 1071061 from home:dgarcia:branches:devel:languages:python
- Update to 3.10.1
  * Fix false positive in rules C402 and C404 for dict() calls with
    keyword arguments.
- 3.10.0 (2022-05-19)
  * Add rule C417 which recommends rewriting use of map() with lambda
    to an equivalent generator expression or comprehension.
- 3.9.0 (2022-05-11)
  * Support Python 3.11.
- 3.8.0 (2022-01-10)
  * Drop Python 3.6 support.
  * Remove upper bound on Flake8 version.
- 3.7.0 (2021-10-11)
  * Support Flake8 4.
- 3.6.1 (2021-08-16)
  * Fix type hint for tree argument.
- 3.6.0 (2021-08-13)
  * Add type hints.
- 3.5.0 (2021-05-10)
  * Support Python 3.10.
  * Stop distributing tests to reduce package size. Tests are not
    intended to be run outside of the tox setup in the repository.
    Repackagers can use GitHub's tarballs per tag.

OBS-URL: https://build.opensuse.org/request/show/1071061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=16
2023-03-13 23:12:48 +00:00
Dominique Leuenberger
8b4d1ae487 Accepting request 880054 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/880054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=7
2021-03-20 20:25:43 +00:00
a80d527aee Accepting request 880053 from home:mcepl:branches:devel:languages:python:pytest
- Don't skip test_C416_fail_1_list, because it has been fixed in
  python-pytest-flake8dir.

OBS-URL: https://build.opensuse.org/request/show/880053
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=14
2021-03-19 08:44:07 +00:00
Dominique Leuenberger
867a5cbd01 Accepting request 879887 from devel:languages:python
- Update to 3.4.0:
  - Remove rules C407 (Unnecessary <dict/list> comprehension
    - <builtin> can take a generator) and C412 (Unnecessary
    <dict/list/set> comprehension - 'in' can take a generator).
    Both rules recommended increasing laziness, which is not
    always desirable and can lead to subtle bugs. Also, a fully
    exhausted generator is slower than an equivalent
    comprehension, so the advice did not always improve
    performance.
  - Drop Python 3.5 support.
  - Support Python 3.9.
  - Move license from ISC to MIT License.
  - Partially reverted the change to C408 to make it apply again
    to when dict is called with keyword arguments, e.g. dict(a=1,
    b=2) will be flagged to be rewritten in the literal form
    {"a": 1, "b": 2}
- Skip test test_C416_fail_1_list
  (gh#adamchainz/flake8-comprehensions#313).

OBS-URL: https://build.opensuse.org/request/show/879887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=6
2021-03-18 21:55:19 +00:00
c4ed9289aa - Update to 3.4.0:
- Remove rules C407 (Unnecessary <dict/list> comprehension
    - <builtin> can take a generator) and C412 (Unnecessary
    <dict/list/set> comprehension - 'in' can take a generator).
    Both rules recommended increasing laziness, which is not
    always desirable and can lead to subtle bugs. Also, a fully
    exhausted generator is slower than an equivalent
    comprehension, so the advice did not always improve
    performance.
  - Drop Python 3.5 support.
  - Support Python 3.9.
  - Move license from ISC to MIT License.
  - Partially reverted the change to C408 to make it apply again
    to when dict is called with keyword arguments, e.g. dict(a=1,
    b=2) will be flagged to be rewritten in the literal form
    {"a": 1, "b": 2}
- Skip test test_C416_fail_1_list
  (gh#adamchainz/flake8-comprehensions#313).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=12
2021-03-18 13:05:37 +00:00
Dominique Leuenberger
2351f15c61 Accepting request 820509 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/820509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=5
2020-07-14 05:58:23 +00:00
Tomáš Chvátal
ee654c2c50 Accepting request 820449 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/820449
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=10
2020-07-12 06:37:01 +00:00
Dominique Leuenberger
f9a8dfe7f6 Accepting request 772523 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/772523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=4
2020-02-11 21:23:50 +00:00
Tomáš Chvátal
366dcb1e00 Accepting request 772518 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/772518
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=8
2020-02-09 18:32:44 +00:00
Dominique Leuenberger
ee576cd1a9 Accepting request 755167 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/755167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=3
2019-12-09 20:35:42 +00:00
Tomáš Chvátal
5ddf72836a Accepting request 754979 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/754979
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=6
2019-12-09 09:18:40 +00:00
Ludwig Nussel
5c33841fa4 Accepting request 730532 from devel:languages:python
- Update to 2.2.0:
  * Update Python support to 3.5-3.7, as 3.4 has reached its end of life.
  * C412 rule that complains about using list comprehension with in.

OBS-URL: https://build.opensuse.org/request/show/730532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=2
2019-09-13 13:02:44 +00:00
Tomáš Chvátal
908b2d1a84 - Update to 2.2.0:
* Update Python support to 3.5-3.7, as 3.4 has reached its end of life.
  * C412 rule that complains about using list comprehension with in.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=4
2019-09-13 07:30:19 +00:00
Dominique Leuenberger
4c80d88fff Accepting request 720783 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/720783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=1
2019-08-19 19:26:51 +00:00
Tomáš Chvátal
5a964713e2 - Format with spec-cleaner
- Switch to github tarball
- Run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=2
2019-08-03 06:52:27 +00:00
Tomáš Chvátal
9782891573 Accepting request 715819 from home:a_faerber:ros
flake8-comprehensions 2.1.0, dependency of colcon

OBS-URL: https://build.opensuse.org/request/show/715819
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=1
2019-08-03 06:38:33 +00:00