generated from python-discord/code-jam-template
-
Notifications
You must be signed in to change notification settings - Fork 12
/
tox.ini
36 lines (34 loc) · 1.13 KB
/
tox.ini
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
# Flake8 and ISort configuration
[flake8]
# Increase the line length. This breaks PEP8 but it is way easier to work with.
# The original reason for this limit was a standard vim terminal is only 79 characters,
# but this doesn't really apply anymore.
max-line-length=119
# Don't lint the venv or the CPython cache.
# Remove dropdownlist.py when upstream releases with our patch
exclude=.venv,__pycache__,venv,skunkbooth/utils/dropdownlist.py
# Ignore some of the most obnoxious linting errors.
ignore=
B311,W503,E226,S311,T000
# Missing Docstrings
D100,D104,D105,D106,D107,
# Docstring Whitespace
D203,D212,D214,D215,
# Docstring Quotes
D301,D302,
# Docstring Content
D400,D401,D402,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D416,D417,
# Comments
E266,
# Type Annotations
ANN002,ANN003,ANN101,ANN102,ANN204,ANN206
[isort]
# Select the 5th style (Hanging grid grouped) to handle longer import.
# This choice is mostly arbitrary and can be changed at your will.
#
# Example of this style:
# from third_party import (
# lib1, lib2, lib3, lib4,
# lib5, ...
# )
multi_line_output=5