forked from shotgunsoftware/python-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
49 lines (44 loc) · 1.3 KB
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright (c) 2018 Shotgun Software Inc.
#
# CONFIDENTIAL AND PROPRIETARY
#
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
# Source Code License included in this distribution package. See LICENSE.
# By accessing, using, copying or modifying this work you indicate your
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Shotgun Software Inc.
# Flake 8 PEP and lint configuration - https://gitlab.com/pycqa/flake8
#
# This defines the official lint and PEP8 rules for this repository
#
# You can run this locally by doing pep install flake8 and then
# >flake8 /path/to/core
#
# This is also used by the hound CI - see the .hound.yml config file.
#
#
[flake8]
# things we don't want to lint
exclude =
.git,
.flake8,
.gitignore,
.travis.yml,
.cache,
.eggs,
*.rst,
*.yml,
*.pyc,
*.pyo,
*.egg-info,
__pycache__,
# Those are our third parties, do not lint them!
shotgun_api3/lib/httplib2/*.py,
shotgun_api3/lib/simplejson/*.py,
shotgun_api3/lib/xmlrpclib.py
# exceptions
#
# E501 line too long (112 > 79 characters)
# E402 module level import not top of file
# E999 SyntaxError: invalid syntax (hack for hound CI which runs python 3.x)
ignore = E501, E402, E999