forked from nv-morpheus/Morpheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
110 lines (103 loc) · 2.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
104
105
106
107
108
109
110
# Copyright (c) 2021-2023, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
# resulting files.
# ===== versioneer Config =====
[versioneer]
VCS = git
style = pep440
versionfile_source = morpheus/_version.py
versionfile_build = morpheus/_version.py
tag_prefix = v
parentdir_prefix = morpheus-
# ===== isort Config =====
[isort]
line_length=120
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
order_by_type=True
force_single_line=True
src_paths=morpheus,tests
known_dask=
dask
distributed
dask_cuda
known_rapids=
nvstrings
nvcategory
nvtext
cudf
cuml
cugraph
dask_cudf
known_first_party=
morpheus
default_section=THIRDPARTY
sections=FUTURE,STDLIB,THIRDPARTY,DASK,RAPIDS,FIRSTPARTY,LOCALFOLDER
skip=
__init__.py
.eggs
.git
.hg
.mypy_cache
.tmp
.tox
.venv
buck-out
build
dist
models
morpheus/_version.py
thirdparty
# Skip versioneer.py as its third-party
versioneer.py
# ===== flake8 Config =====
[flake8]
filename = *.py, *.pyx, *.pxd
exclude =
__pycache__,
.git,
.tmp/,
*.egg,
build/,
cpp,
docs,
models/,
thirdparty,
versioneer.py
max-line-length = 120
max-doc-length = 120
# Cython Rules ignored:
# E999: invalid syntax (works for Python, not Cython)
# E225: Missing whitespace around operators (breaks cython casting syntax like <int>)
# E226: Missing whitespace around arithmetic operators (breaks cython pointer syntax like int*)
# E227: Missing whitespace around bitwise or shift operator (Can also break casting syntax)
# W503: line break before binary operator (breaks lines that start with a pointer)
# W504: line break after binary operator (breaks lines that end with a pointer)
per-file-ignores =
# imported but unused
__init__.py: F401, E402
# Ignore additional deps needed for examples
examples/*.py: F821
# Cython Exclusions
*.pyx: E999, E225, E226, E227, W503, W504
*.pxd: E999, E225, E226, E227, W503, W504
[yapf]
based_on_style = pep8
column_limit = 120
split_all_top_level_comma_separated_values = true
join_multiple_lines = true
indent_dictionary_value = true