Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Feb 12, 2022
1 parent 04bf887 commit 8f2c855
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ repos:
hooks:
- id: isort

- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
- id: autoflake
name: autoflake
args:
[
"--in-place",
"--remove-unused-variables",
"--remove-all-unused-imports",
]
language: python
files: \.py$

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
Expand Down
1 change: 0 additions & 1 deletion src/humanize/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import datetime as dt
import math
import warnings
from enum import Enum
from functools import total_ordering

Expand Down

0 comments on commit 8f2c855

Please sign in to comment.