forked from django-stars/pytest-yapf
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
35 lines (31 loc) · 762 Bytes
/
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
[metadata]
name = pytest-yapf3
description = Validate your Python file format with yapf
long_description = file: README.md, CHANGELOG.md
long_description_content_type = text/markdown
author = Yan QiDong
author_email = yanqd0@outlook.com
license = MIT
url = https://github.com/yanqd0/pytest-yapf3
[aliases]
test = pytest
[tool:pytest]
addopts =
--verbose
--cov pytest_yapf3
--flake8
--pylint
--isort
--yapf
python_files = tests/*
mock_use_standalone_module = true
[isort]
multi_line_output = 3
include_trailing_comma = true
known_first_party = pytest_yapf3
[yapf]
align_closing_bracket_with_visual_indent = true
based_on_style = pep8
blank_line_before_nested_class_or_def = true
coalesce_brackets = true
dedent_closing_brackets = true