Skip to content

Commit 2db48a0

Browse files
authored
build(deps): Add flake8-comprehensions (#380)
2 parents fd3ec30 + 9879183 commit 2db48a0

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ $ pipx install --suffix=@next 'vcspull' --pip-args '\--pre' --force
2929
- Remove `.pre-commit-config.yaml`: Let's not automate what the contributor could /
3030
should do themselves.
3131
- Add [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) (#379)
32+
- Add [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions) (#380)
3233

3334
### Documentation
3435

poetry.lock

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ isort = "*"
9292
### Lint ###
9393
flake8 = "*"
9494
flake8-bugbear = "^22.8.23"
95+
flake8-comprehensions = "*"
9596
mypy = "*"
9697

9798
[tool.poetry.extras]
@@ -112,7 +113,7 @@ docs = [
112113
test = ["pytest", "pytest-rerunfailures", "pytest-watcher"]
113114
coverage = ["codecov", "coverage", "pytest-cov"]
114115
format = ["black", "isort"]
115-
lint = ["flake8", "flake8-bugbear", "mypy"]
116+
lint = ["flake8", "flake8-bugbear", "flake8-comprehensions", "mypy"]
116117

117118
[build-system]
118119
requires = ["poetry_core>=1.0.0", "setuptools>50"]

0 commit comments

Comments
 (0)