Skip to content

Commit

Permalink
chore: minor touchups (#598)
Browse files Browse the repository at this point in the history
* chore: remove wheel

wheel is already declared by setuptools PEP 517 interface. Also, due to that interface, setuptools will only require wheel for wheel builds, and not for SDist builds!

* chore: include flake8-bugbear's extra checks

* chore: fix pycln's arg in pre-commit

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

Co-authored-by: Tom Fleet <tomfleet2018@gmail.com>
  • Loading branch information
henryiii and FollowTheProcess committed Apr 21, 2022
1 parent af96f51 commit f3adccb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ repos:
rev: v1.2.5
hooks:
- id: pycln
args: [--config=pyproject.toml]
args: [--all]
stages: [manual]

- repo: https://github.com/asottile/yesqa
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[build-system]
requires = [
"setuptools>=42",
"wheel",
]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"

[tool.isort]
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ tox_to_nox =
nox = py.typed

[flake8]
extend-ignore = E501, W503, E203
extend-ignore = E501, W503, E203, B950
extend-select = B9
import-order-style = google
application-import-names = nox,tests

0 comments on commit f3adccb

Please sign in to comment.