Skip to content

Commit

Permalink
Enable import checks via pycln
Browse files Browse the repository at this point in the history
  • Loading branch information
bergercookie committed Apr 18, 2022
1 parent 04814e0 commit c27635d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ repos:
minimum_pre_commit_version: 2.9.2
require_serial: true
types_or: [python, pyi]
- id: pycln
name: Pyclean - Find redundant imports
entry: pycln
language: system
pass_filenames: true
types_or: [python, pyi]
- id: mypy
name: Mypy check
entry: mypy
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ types-python-dateutil = "^2.8.3"

coveralls = "^3.3.1"
coverage = "^6.2"
pycln = "^1.3.1"
# isort ------------------------------------------------------------------------
[tool.isort]
line_length = 95
Expand Down

0 comments on commit c27635d

Please sign in to comment.