summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-26 07:50:18 -0800
committerDavid Lord <davidism@gmail.com>2020-01-26 10:09:36 -0800
commit7c3d08886520d6a19108577cb737839401cb61ed (patch)
treea31a524a9f75ca0854fd83a323e01d0b13879068 /setup.cfg
parentf81c229f63c927d313c0cd0ba09a002d54571d16 (diff)
downloadmarkupsafe-7c3d08886520d6a19108577cb737839401cb61ed.tar.gz
finish Azure Pipelines config
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg23
1 files changed, 17 insertions, 6 deletions
diff --git a/setup.cfg b/setup.cfg
index 08cecbb..f5cafd8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,13 +1,18 @@
[metadata]
license_file = LICENSE.rst
+long_description_content_type = text/x-rst
[tool:pytest]
testpaths = tests
+filterwarnings =
+ error
[coverage:run]
-branch = True
+branch = true
+parallel = true
source =
markupsafe
+ tests
[coverage:paths]
source =
@@ -22,11 +27,17 @@ source =
# W = pycodestyle warnings
# B9 = bugbear opinions
select = B, E, F, W, B9
-# E203 = slice notation whitespace, invalid
-# E501 = line length, handled by bugbear B950
-# W503 = bin op line break, invalid
-ignore = E203, E501, W503
+ignore =
+ # slice notation whitespace, invalid
+ E203
+ # line length, handled by bugbear B950
+ E501
+ # bare except, handled by bugbear B001
+ E722
+ # bin op line break, invalid
+ W503
# up to 88 allowed by bugbear B950
max-line-length = 80
# _compat names and imports will always look bad, ignore warnings
-exclude = src/markupsafe/_compat.py
+exclude =
+ src/markupsafe/_compat.py