blob: 08801c791b90fd9f1336d1991b0907a83f5d66a3 [file] [log] [blame]
Philippe Ombredannea635afe2016-11-01 13:19:10 -07001[metadata]
David Lord6f9ceab2020-04-09 17:22:55 -07002name = MarkupSafe
3version = attr: markupsafe.__version__
4url = https://palletsprojects.com/p/markupsafe/
5project_urls =
6 Documentation = https://markupsafe.palletsprojects.com/
7 Code = https://github.com/pallets/markupsafe
8 Issue tracker = https://github.com/pallets/markupsafe/issues
9license = BSD-3-Clause
10license_files = LICENSE.rst
David Lord895d41a2020-07-01 09:36:08 -070011author = Armin Ronacher
12author_email = armin.ronacher@active-4.com
David Lord6f9ceab2020-04-09 17:22:55 -070013maintainer = Pallets
14maintainer_email = contact@palletsprojects.com
15description = Safely add untrusted strings to HTML/XML markup.
16long_description = file: README.rst
David Lord7c3d0882020-01-26 07:50:18 -080017long_description_content_type = text/x-rst
David Lord6f9ceab2020-04-09 17:22:55 -070018classifiers =
19 Development Status :: 5 - Production/Stable
20 Environment :: Web Environment
21 Intended Audience :: Developers
22 License :: OSI Approved :: BSD License
23 Operating System :: OS Independent
24 Programming Language :: Python
25 Topic :: Internet :: WWW/HTTP :: Dynamic Content
26 Topic :: Text Processing :: Markup :: HTML
27
28[options]
29packages = find:
30package_dir = = src
31include_package_data = true
32python_requires = >= 3.6
33
34[options.packages.find]
35where = src
David Lordfe626812018-05-02 13:47:27 -070036
David Lordfe626812018-05-02 13:47:27 -070037[tool:pytest]
David Lord4d4fa0d2018-05-02 14:54:35 -070038testpaths = tests
David Lord7c3d0882020-01-26 07:50:18 -080039filterwarnings =
40 error
David Lordfe626812018-05-02 13:47:27 -070041
42[coverage:run]
David Lord7c3d0882020-01-26 07:50:18 -080043branch = true
David Lordfe626812018-05-02 13:47:27 -070044source =
45 markupsafe
David Lord7c3d0882020-01-26 07:50:18 -080046 tests
David Lordfe626812018-05-02 13:47:27 -070047
48[coverage:paths]
49source =
David Lord92486d02020-01-29 19:10:51 -080050 src
51 */site-packages
David Lordb41c96e2018-11-03 15:26:05 -070052
53[flake8]
54# B = bugbear
55# E = pycodestyle errors
56# F = flake8 pyflakes
57# W = pycodestyle warnings
58# B9 = bugbear opinions
59select = B, E, F, W, B9
David Lord7c3d0882020-01-26 07:50:18 -080060ignore =
61 # slice notation whitespace, invalid
62 E203
63 # line length, handled by bugbear B950
64 E501
65 # bare except, handled by bugbear B001
66 E722
67 # bin op line break, invalid
68 W503
David Lordb41c96e2018-11-03 15:26:05 -070069# up to 88 allowed by bugbear B950
70max-line-length = 80