forked from Lightning-Universe/lightning-flash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
103 lines (84 loc) · 1.79 KB
/
setup.cfg
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[metadata]
license_file = LICENSE
description-file = README.md
[tool:pytest]
norecursedirs =
.git
dist
build
addopts =
--strict
--doctest-modules
--durations=0
--color=yes
[coverage:report]
exclude_lines =
pragma: no-cover
pass
if __name__ == .__main__.:
add_model_specific_args
[isort]
known_first_party =
flash
flash_examples
tests
line_length = 120
order_by_type = False
# 3 - Vertical Hanging Indent
multi_line_output = 3
include_trailing_comma = True
[flake8]
max-line-length = 120
extend-ignore = E203, W503
ignore =
W504 # Line break occurred after a binary operator
exclude =
*.egg
build
temp
flash_notebooks
.git
select = E,W,F
doctests = True
verbose = 2
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
format = pylint
# see: https://www.flake8rules.com/
[versioneer]
VCS = git
style = pep440
versionfile_source = flash/_version.py
versionfile_build = flash/_version.py
tag_prefix = v
parentdir_prefix =
# setup.cfg or tox.ini
[check-manifest]
ignore =
*.yml
.github
.github/*
.circleci
[mypy]
# Typing tests is low priority, but enabling type checking on the
# untyped test functions (using `--check-untyped-defs`) is still
# high-value because it helps test the typing.
files = flash, flash_examples, tests
pretty = True
show_error_codes = True
disallow_untyped_defs = True
ignore_missing_imports = True
# todo: add proper typing to this module...
[mypy-flash.core.*]
ignore_errors = True
# todo: add proper typing to this module...
[mypy-flash.tabular.*]
ignore_errors = True
# todo: add proper typing to this module...
[mypy-flash.text.*]
ignore_errors = True
# todo: add proper typing to this module...
[mypy-flash.image.*]
ignore_errors = True
# todo
[mypy-tests.*]
ignore_errors = True