mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Reformat codes
This commit is contained in:
@@ -4,7 +4,9 @@ license = MIT
|
||||
license_file = LICENSE
|
||||
|
||||
[flake8]
|
||||
exclude = .git,__pycache__,docs/,pipenv/vendor/,get-pipenv.py,setup.py
|
||||
exclude =
|
||||
.git,__pycache__,docs/,pipenv/vendor/,pipenv/patched,get-pipenv.py,
|
||||
.eggs/,setup.py,tests/fixtures/
|
||||
ignore =
|
||||
# The default ignore list:
|
||||
E121,E123,E126,E226,E24,E704,
|
||||
@@ -17,13 +19,14 @@ ignore =
|
||||
# E402: module level import not at top of file
|
||||
# E501: line too long
|
||||
# W503: line break before binary operator
|
||||
E402,E501,W503
|
||||
E402,E501,W503,E203
|
||||
|
||||
[isort]
|
||||
atomic=true
|
||||
lines_after_imports=2
|
||||
lines_between_types=1
|
||||
multi_line_output=5
|
||||
line_length=80
|
||||
not_skip=__init__.py
|
||||
known_first_party =
|
||||
pipenv
|
||||
@@ -36,3 +39,29 @@ follow_imports=skip
|
||||
html_report=mypyhtml
|
||||
python_version=3.6
|
||||
mypy_path=typeshed/pyi:typeshed/imports
|
||||
|
||||
[tool:pytest]
|
||||
addopts = -ra -n auto
|
||||
plugins = xdist
|
||||
testpaths = tests
|
||||
; Add vendor and patched in addition to the default list of ignored dirs
|
||||
; Additionally, ignore tasks, news, test subdirectories and peeps directory
|
||||
norecursedirs =
|
||||
.* build
|
||||
dist
|
||||
CVS
|
||||
_darcs
|
||||
{arch}
|
||||
*.egg
|
||||
vendor
|
||||
patched
|
||||
news
|
||||
tasks
|
||||
docs
|
||||
tests/test_artifacts
|
||||
tests/pytest-pypi
|
||||
tests/pypi
|
||||
peeps
|
||||
filterwarnings =
|
||||
ignore::DeprecationWarning
|
||||
ignore::PendingDeprecationWarning
|
||||
|
||||
Reference in New Issue
Block a user