-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.cfg
More file actions
56 lines (47 loc) · 1.53 KB
/
setup.cfg
File metadata and controls
56 lines (47 loc) · 1.53 KB
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
49
50
51
52
53
54
55
56
# To be kept consistent with "Import Formatting" section in contributing.rst
[flake8]
max-line-length = 88
ignore =
E203, # space before : (needed for how black formats slicing)
W503, # line break before binary operator
W504, # line break after binary operator
E402, # module level import not at top of file
E731, # do not assign a lambda expression, use a def
C406, # Unnecessary list literal - rewrite as a dict literal.
C408, # Unnecessary dict call - rewrite as a literal.
C409, # Unnecessary list passed to tuple() - rewrite as a tuple literal.
S001 # found modulo formatter (incorrect picks up mod operations)
exclude = versioneer.py, sql_to_ibis/_version.py
[isort]
known_first_party = sql_to_ibis
known_third_party = distutils,flake8,freezegun,ibis,lark,matplotlib,numpy,numpydoc,pandas,pytest,setuptools
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
combine_as_imports = True
line_length = 88
force_sort_within_sections = True
[mypy]
ignore_missing_imports=True
no_implicit_optional=True
check_untyped_defs=True
disallow_untyped_defs=True
# warn_return_any=True
[mypy-sql_to_ibis.tests.*]
ignore_errors=True
[mypy-sql_to_ibis._version]
ignore_errors=True
[mypy-versioneer]
ignore_errors=True
[tool:pytest]
testpaths = sql_to_ibis/tests
addopts = --cov=sql_to_ibis
[versioneer]
VCS = git
style = pep440
versionfile_source = sql_to_ibis/_version.py
versionfile_build = sql_to_ibis/_version.py
tag_prefix = v
parentdir_prefix = sql_to_ibis-
[metadata]
description-file = README.md