File tree Expand file tree Collapse file tree 5 files changed +33
-32
lines changed Expand file tree Collapse file tree 5 files changed +33
-32
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ insert_final_newline = true
8
8
indent_style = space
9
9
indent_size = 4
10
10
charset = utf-8
11
- max_line_length = 180
11
+ max_line_length = 120
12
12
13
13
[* .{bat,cmd,ps1} ]
14
14
end_of_line = crlf
Original file line number Diff line number Diff line change
1
+ [tool .black ]
2
+ line-length = 120
3
+ extend-exclude = " src/roslibpy/comm/comm_cli.py"
4
+
5
+ [tool .pytest .ini_options ]
6
+ minversion = " 6.0"
7
+ testpaths = [" tests" ]
8
+ python_files = [
9
+ " test_*.py" ,
10
+ " *_test.py" ,
11
+ " tests.py"
12
+ ]
13
+ addopts = " -ra --strict --doctest-modules --doctest-glob=*.rst --tb=short"
14
+ doctest_optionflags = " NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ALLOW_UNICODE ALLOW_BYTES"
15
+ filterwarnings = " ignore::DeprecationWarning"
16
+
17
+ [tool .isort ]
18
+ # These settings -including the shorter-than-the rest- line length avoid
19
+ # conflicts between isort and black import formatting
20
+ line_length = 88
21
+ multi_line_output = 3
22
+ include_trailing_comma = true
23
+ force_grid_wrap = 0
24
+ use_parentheses = true
25
+ ensure_newline_before_comments = true
26
+ known_first_party = " roslibpy"
27
+ default_section = " THIRDPARTY"
28
+ forced_separate = " test_roslibpy"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
attrs >= 19.2.0
2
- autopep8
2
+ black
3
3
bump2version >= 1.0.1
4
4
check-manifest >= 0.36
5
5
doc8
6
6
flake8
7
7
invoke >= 0.14
8
- isort >= 4.3.21
8
+ isort
9
9
pydocstyle
10
- pytest
10
+ pytest >= 6.0
11
11
sphinx >= 3.4
12
12
twine
13
13
-e .
Original file line number Diff line number Diff line change 2
2
universal = 1
3
3
4
4
[flake8]
5
- max-line-length = 180
5
+ max-line-length = 120
6
6
exclude = */migrations/*
7
7
8
- [tool:pytest]
9
- testpaths = tests
10
- norecursedirs =
11
- migrations
12
-
13
- python_files =
14
- test_*.py
15
- *_test.py
16
- tests.py
17
- addopts =
18
- -ra
19
- --strict
20
- --doctest-modules
21
- --doctest-glob =\*.rst
22
- --tb =short
23
-
24
- [isort]
25
- force_single_line = True
26
- line_length = 180
27
- known_first_party = roslibpy
28
- default_section = THIRDPARTY
29
- forced_separate = test_roslibpy
30
- skip = migrations, __init__.py
You can’t perform that action at this time.
0 commit comments