Skip to content

Instantly share code, notes, and snippets.

@FGtatsuro
Last active July 16, 2018 11:40
Show Gist options
  • Save FGtatsuro/ddcb0538d66b979bef1af919ad8241d2 to your computer and use it in GitHub Desktop.
Save FGtatsuro/ddcb0538d66b979bef1af919ad8241d2 to your computer and use it in GitHub Desktop.
default setup.cfg
# NOTE: This section name isn't valid on pytest 2.x.
[tool:pytest]
addopts = --junit-xml=results/results.xml
[pycodestyle]
max-line-length = 100
# FYI: http://www.pydocstyle.org/en/stable/error_codes.html
# Conflict:
# - D203 vs D211 (FYI: https://github.com/PyCQA/pydocstyle/issues/141)
# - D212 vs D213 (FYI: https://github.com/PyCQA/pydocstyle/issues/242)
[pydocstyle]
ignore = D100,D101,D102,D103,D104,D105,D106,D107,D203,D213
# Suppress errors from stub not found.
[mypy-pytest.*]
ignore_missing_imports = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment