We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04bf887 commit 8f2c855Copy full SHA for 8f2c855
.pre-commit-config.yaml
@@ -16,6 +16,20 @@ repos:
16
hooks:
17
- id: isort
18
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
+
33
- repo: https://github.com/PyCQA/flake8
34
rev: 4.0.1
35
src/humanize/time.py
@@ -7,7 +7,6 @@
7
8
import datetime as dt
9
import math
10
-import warnings
11
from enum import Enum
12
from functools import total_ordering
13
0 commit comments