Skip to content

Commit e14f680

Browse files
committed
Flake8 travis and pre-commit setup
1 parent 78da51a commit e14f680

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ repos:
1616
rev: v2.2.3
1717
hooks:
1818
- id: flake8
19-
args: ["--max-line-length=88", "--exclude=__init__.py"]
19+
args: ["--ignore=W503"]

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ install:
3131
- python setup.py install --user
3232

3333
script:
34-
- flake8 proplot --ignore=W503,F401,F403
34+
- flake8 proplot --ignore=W503
3535
- pushd docs
3636
- make html
3737
- popd

proplot/__init__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@
77
import pkg_resources as _pkg
88
from .utils import _benchmark
99
with _benchmark('total time'):
10-
from .utils import *
10+
from .utils import * # noqa
1111
with _benchmark('styletools'):
12-
from .styletools import *
12+
from .styletools import * # noqa
1313
with _benchmark('rctools'):
14-
from .rctools import *
14+
from .rctools import * # noqa
1515
with _benchmark('axistools'):
16-
from .axistools import *
16+
from .axistools import * # noqa
1717
with _benchmark('wrappers'):
18-
from .wrappers import *
18+
from .wrappers import * # noqa
1919
with _benchmark('projs'):
20-
from .projs import *
20+
from .projs import * # noqa
2121
with _benchmark('axes'):
22-
from .axes import *
22+
from .axes import * # noqa
2323
with _benchmark('subplots'):
24-
from .subplots import *
24+
from .subplots import * # noqa
2525

2626

2727
def _warning_proplot(message, category, filename, lineno, line=None):

0 commit comments

Comments
 (0)