Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REL: 0.18.2 #119

Merged
merged 1 commit into from
Mar 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
# hooks:
# - id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
rev: v0.942
hooks:
- id: mypy
- repo: https://github.com/asottile/seed-isort-config
Expand All @@ -33,7 +33,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py36-plus]
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
Release History
===============

### 0.18.2
Released on 26.03.2022

Removed rules due to false-positives:

* SIM204: Use 'a >= b' instead of 'not (a < b)'
* SIM205: Use 'a > b' instead of 'not (a <= b)'
* SIM206: Use 'a <= b' instead of 'not (a > b)'
* SIM207: Use 'a < b' instead of 'not (a <= b)'

Fixed false-positives:

* SIM113: Use enumerate instead of manually incrementing a counter

Maintenance:

* Split a way-too-big module into smaller modules

### 0.18.1
Released on 24.02.2022

Only distribute the `flake8_simplify` package. `0.18.0` did also distribute
the `tests` package which caused issues in some systems.

### 0.18.0
Released on 20.02.2022

Expand Down
42 changes: 16 additions & 26 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with python 3.7
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
#
# pip-compile requirements/dev.in
Expand All @@ -16,47 +16,41 @@ cfgv==3.3.1
# via pre-commit
charset-normalizer==2.0.12
# via requests
click==8.0.3
click==8.0.4
# via pip-tools
colorama==0.4.4
# via twine
coverage[toml]==6.3.1
coverage[toml]==6.3.2
# via pytest-cov
cryptography==36.0.1
cryptography==36.0.2
# via secretstorage
distlib==0.3.4
# via virtualenv
docutils==0.18.1
# via readme-renderer
filelock==3.5.1
filelock==3.6.0
# via virtualenv
identify==2.4.10
identify==2.4.12
# via pre-commit
idna==3.3
# via requests
importlib-metadata==4.11.1
importlib-metadata==4.11.3
# via
# click
# keyring
# pep517
# pluggy
# pre-commit
# pytest
# twine
# virtualenv
iniconfig==1.1.1
# via pytest
jeepney==0.7.1
# via
# keyring
# secretstorage
jinja2==3.0.3
jinja2==3.1.1
# via junit2html
junit2html==30.0.6
# via -r requirements/dev.in
keyring==23.5.0
# via twine
markupsafe==2.0.1
markupsafe==2.1.1
# via jinja2
nodeenv==1.6.0
# via pre-commit
Expand All @@ -70,7 +64,7 @@ pip-tools==6.5.1
# via -r requirements/dev.in
pkginfo==1.8.2
# via twine
platformdirs==2.5.0
platformdirs==2.5.1
# via virtualenv
pluggy==1.0.0
# via pytest
Expand All @@ -84,7 +78,7 @@ pygments==2.11.2
# via readme-renderer
pyparsing==3.0.7
# via packaging
pytest==7.0.1
pytest==7.1.1
# via
# -r requirements/dev.in
# pytest-cov
Expand All @@ -95,7 +89,7 @@ pytest-timeout==2.1.0
# via -r requirements/dev.in
pyyaml==6.0
# via pre-commit
readme-renderer==32.0
readme-renderer==34.0
# via twine
requests==2.27.1
# via
Expand All @@ -118,17 +112,15 @@ tomli==2.0.1
# coverage
# pep517
# pytest
tqdm==4.62.3
tqdm==4.63.1
# via twine
twine==3.8.0
# via -r requirements/dev.in
typing-extensions==4.1.1
# via importlib-metadata
urllib3==1.26.8
urllib3==1.26.9
# via
# requests
# twine
virtualenv==20.13.1
virtualenv==20.14.0
# via pre-commit
webencodings==0.5.1
# via bleach
Expand All @@ -137,9 +129,7 @@ wheel==0.37.1
# -r requirements/dev.in
# pip-tools
zipp==3.7.0
# via
# importlib-metadata
# pep517
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
33 changes: 9 additions & 24 deletions requirements/lint.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#
# This file is autogenerated by pip-compile with python 3.7
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
#
# pip-compile requirements/lint.in
#
attrs==20.3.0
attrs==21.4.0
# via
# flake8-bugbear
# flake8-eradicate
# flake8-implicit-str-concat
black==22.1.0
# via -r requirements/lint.in
click==8.0.3
click==8.0.4
# via black
eradicate==2.0.0
# via flake8-eradicate
Expand All @@ -26,7 +26,7 @@ flake8==4.0.1
# flake8-isort
# flake8-raise
# flake8-string-format
flake8-bugbear==22.1.11
flake8-bugbear==22.3.23
# via -r requirements/lint.in
flake8-builtins==1.5.3
# via -r requirements/lint.in
Expand All @@ -36,7 +36,7 @@ flake8-eradicate==1.2.0
# via -r requirements/lint.in
flake8-executable==2.1.1
# via -r requirements/lint.in
flake8-implicit-str-concat==0.2.0
flake8-implicit-str-concat==0.3.0
# via -r requirements/lint.in
flake8-isort==4.1.1
# via -r requirements/lint.in
Expand All @@ -48,12 +48,6 @@ flake8-raise==0.0.5
# via -r requirements/lint.in
flake8-string-format==0.3.0
# via -r requirements/lint.in
importlib-metadata==4.2.0
# via
# click
# flake8
# flake8-comprehensions
# flake8-raise
isort==5.10.1
# via flake8-isort
mccabe==0.6.1
Expand All @@ -62,15 +56,15 @@ mccabe==0.6.1
# flake8
more-itertools==8.12.0
# via flake8-implicit-str-concat
mypy==0.931
mypy==0.942
# via -r requirements/lint.in
mypy-extensions==0.4.3
# via
# black
# mypy
pathspec==0.9.0
# via black
platformdirs==2.5.0
platformdirs==2.5.1
# via black
pycodestyle==2.8.0
# via flake8
Expand All @@ -80,20 +74,11 @@ pyflakes==2.4.0
# via flake8
snowballstemmer==2.2.0
# via pydocstyle
testfixtures==6.18.3
testfixtures==6.18.5
# via flake8-isort
tomli==2.0.1
# via
# black
# mypy
typed-ast==1.5.2
# via
# black
# mypy
typing-extensions==4.1.1
# via
# black
# importlib-metadata
# mypy
zipp==3.7.0
# via importlib-metadata
# via mypy
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ author_email = info@martin-thoma.de
maintainer = Martin Thoma
maintainer_email = info@martin-thoma.de

version = 0.18.1
version = 0.18.2

description = flake8 plugin which checks for code that can be simplified
long_description = file: README.md
Expand Down