File tree 5 files changed +35
-14
lines changed
5 files changed +35
-14
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/asottile/pyupgrade
3
- rev : v1.22.1
3
+ rev : v1.25.2
4
4
hooks :
5
5
- id : pyupgrade
6
6
args : ["--py36-plus"]
7
7
8
8
- repo : https://github.com/psf/black
9
- rev : 19.3b0
9
+ rev : 19.10b0
10
10
hooks :
11
11
- id : black
12
- language_version : python3.7
12
+ args : ["--target-version", "py36"]
13
13
# override until resolved: https://github.com/psf/black/issues/402
14
14
files : \.pyi?$
15
15
types : []
16
16
17
17
- repo : https://gitlab.com/pycqa/flake8
18
- rev : 3.7.8
18
+ rev : 3.7.9
19
19
hooks :
20
20
- id : flake8
21
- language_version : python3.7
21
+ additional_dependencies : [flake8-2020, flake8-implicit-str-concat]
22
+
23
+ - repo : https://github.com/asottile/seed-isort-config
24
+ rev : v1.9.3
25
+ hooks :
26
+ - id : seed-isort-config
27
+
28
+ - repo : https://github.com/pre-commit/mirrors-isort
29
+ rev : v4.3.21
30
+ hooks :
31
+ - id : isort
32
+
33
+ - repo : https://github.com/pre-commit/pygrep-hooks
34
+ rev : v1.4.2
35
+ hooks :
36
+ - id : python-check-blanket-noqa
37
+
38
+ - repo : https://github.com/pre-commit/pre-commit-hooks
39
+ rev : v2.4.0
40
+ hooks :
41
+ - id : check-merge-conflict
42
+ - id : check-toml
43
+ - id : check-yaml
Original file line number Diff line number Diff line change 1
1
import argparse
2
+
2
3
from svg_wheel import generate_svg_wheel
3
4
from utils import (
4
5
annotate_support ,
Original file line number Diff line number Diff line change 1
1
[flake8]
2
2
max_line_length = 88
3
3
4
- [pycodestyle]
5
- count = True
6
- ignore = E501
7
- max_line_length = 88
8
- statistics = True
4
+ [tool:isort]
5
+ known_third_party = pip,pytz,requests
6
+ force_grid_wrap = 0
7
+ include_trailing_comma = True
8
+ line_length = 88
9
+ multi_line_output = 3
10
+ use_parentheses = True
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
- # encoding: utf-8
3
2
"""
4
3
Unit tests for utils.py
5
4
"""
6
- from __future__ import print_function , unicode_literals
7
5
import unittest
8
6
9
7
import utils
Original file line number Diff line number Diff line change 1
- from __future__ import print_function , unicode_literals
2
-
3
1
import datetime
4
2
import json
5
3
import os
You can’t perform that action at this time.
0 commit comments