Skip to content

Commit 8f2c855

Browse files
committed
Remove unused import
1 parent 04bf887 commit 8f2c855

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@ repos:
1616
hooks:
1717
- id: isort
1818

19+
- repo: https://github.com/myint/autoflake
20+
rev: v1.4
21+
hooks:
22+
- id: autoflake
23+
name: autoflake
24+
args:
25+
[
26+
"--in-place",
27+
"--remove-unused-variables",
28+
"--remove-all-unused-imports",
29+
]
30+
language: python
31+
files: \.py$
32+
1933
- repo: https://github.com/PyCQA/flake8
2034
rev: 4.0.1
2135
hooks:

src/humanize/time.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import datetime as dt
99
import math
10-
import warnings
1110
from enum import Enum
1211
from functools import total_ordering
1312

0 commit comments

Comments
 (0)