@@ -5,9 +5,38 @@ target-version = ['py38', 'py39', 'py310']
55[tool .codespell ]
66builtin = " clear,rare,informal,names"
77check-filenames = true
8- ignore-words-list = " amin,arange,elemt,fro,hist,ith,mone,nd,nin,sinc,vart"
8+ ignore-words-list = " amin,arange,elemt,fro,hist,ith,mone,nd,nin,sinc,vart"
99quiet-level = 3
1010
11+ [tool .coverage .report ]
12+ omit = [
13+ " dpnp/tests/*" ,
14+ " dpnp/_version.py"
15+ ]
16+
17+ [tool .coverage .run ]
18+ branch = true
19+ omit = [
20+ " dpnp/tests/*" ,
21+ " dpnp/_version.py"
22+ ]
23+ plugins = [
24+ " Cython.Coverage"
25+ ]
26+ source = [
27+ " dpnp"
28+ ]
29+
30+ [tool .isort ]
31+ ensure_newline_before_comments = true
32+ force_grid_wrap = 0
33+ include_trailing_comma = true
34+ line_length = 80
35+ multi_line_output = 3
36+ skip = [" dpnp/__init__.py" ]
37+ split_on_trailing_comma = true
38+ use_parentheses = true
39+
1140[tool .pylint .basic ]
1241include-naming-hint = true
1342
@@ -16,9 +45,9 @@ exclude-protected = ["_create_from_usm_ndarray"]
1645
1746[tool .pylint .design ]
1847max-args = 11
19- max-positional-arguments = 9
20- max-locals = 30
2148max-branches = 16
49+ max-locals = 30
50+ max-positional-arguments = 9
2251max-returns = 8
2352
2453[tool .pylint .format ]
@@ -31,47 +60,22 @@ allow-wildcard-with-all = true
3160[tool .pylint .miscellaneous ]
3261notes = [" FIXME" , " XXX" ]
3362
34- [tool .isort ]
35- multi_line_output = 3
36- include_trailing_comma = true
37- force_grid_wrap = 0
38- use_parentheses = true
39- ensure_newline_before_comments = true
40- line_length = 80
41- split_on_trailing_comma = true
42- skip = [" dpnp/__init__.py" ]
43-
44- [tool .coverage .run ]
45- plugins = [
46- " Cython.Coverage"
47- ]
48- branch = true
49- source = [
50- " dpnp" ,
51- ]
52- omit = [
53- " dpnp/tests/*" ,
54- " dpnp/_version.py" ,
55- ]
56-
57- [tool .coverage .report ]
58- omit = [
59- " dpnp/tests/*" ,
60- " dpnp/_version.py" ,
61- ]
62-
6363[tool .pytest .ini .options ]
64- minversion = " 6.0"
65- norecursedirs = [
66- " .*" , " *.egg*" , " build" , " dist" , " conda-recipe" ,
67- ]
6864addopts = [
69- " --junitxml=junit.xml" ,
70- " --ignore setup.py" ,
71- " --ignore run_test.py" ,
72- " --cov-report term-missing" ,
73- " --tb native" ,
74- " --strict" ,
75- " --durations=20" ,
76- " -q -ra" ,
65+ " --junitxml=junit.xml" ,
66+ " --ignore setup.py" ,
67+ " --ignore run_test.py" ,
68+ " --cov-report term-missing" ,
69+ " --tb native" ,
70+ " --strict" ,
71+ " --durations=20" ,
72+ " -q -ra"
73+ ]
74+ minversion = " 6.0"
75+ norecursedirs = [
76+ " .*" ,
77+ " *.egg*" ,
78+ " build" ,
79+ " dist" ,
80+ " conda-recipe"
7781]
0 commit comments