Philippe Ombredanne | a635afe | 2016-11-01 13:19:10 -0700 | [diff] [blame] | 1 | [metadata] |
David Lord | 6f9ceab | 2020-04-09 17:22:55 -0700 | [diff] [blame] | 2 | name = MarkupSafe |
| 3 | version = attr: markupsafe.__version__ |
| 4 | url = https://palletsprojects.com/p/markupsafe/ |
| 5 | project_urls = |
| 6 | Documentation = https://markupsafe.palletsprojects.com/ |
| 7 | Code = https://github.com/pallets/markupsafe |
| 8 | Issue tracker = https://github.com/pallets/markupsafe/issues |
| 9 | license = BSD-3-Clause |
| 10 | license_files = LICENSE.rst |
David Lord | 895d41a | 2020-07-01 09:36:08 -0700 | [diff] [blame] | 11 | author = Armin Ronacher |
| 12 | author_email = armin.ronacher@active-4.com |
David Lord | 6f9ceab | 2020-04-09 17:22:55 -0700 | [diff] [blame] | 13 | maintainer = Pallets |
| 14 | maintainer_email = contact@palletsprojects.com |
| 15 | description = Safely add untrusted strings to HTML/XML markup. |
| 16 | long_description = file: README.rst |
David Lord | 7c3d088 | 2020-01-26 07:50:18 -0800 | [diff] [blame] | 17 | long_description_content_type = text/x-rst |
David Lord | 6f9ceab | 2020-04-09 17:22:55 -0700 | [diff] [blame] | 18 | classifiers = |
| 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] |
| 29 | packages = find: |
| 30 | package_dir = = src |
| 31 | include_package_data = true |
| 32 | python_requires = >= 3.6 |
| 33 | |
| 34 | [options.packages.find] |
| 35 | where = src |
David Lord | fe62681 | 2018-05-02 13:47:27 -0700 | [diff] [blame] | 36 | |
David Lord | fe62681 | 2018-05-02 13:47:27 -0700 | [diff] [blame] | 37 | [tool:pytest] |
David Lord | 4d4fa0d | 2018-05-02 14:54:35 -0700 | [diff] [blame] | 38 | testpaths = tests |
David Lord | 7c3d088 | 2020-01-26 07:50:18 -0800 | [diff] [blame] | 39 | filterwarnings = |
| 40 | error |
David Lord | fe62681 | 2018-05-02 13:47:27 -0700 | [diff] [blame] | 41 | |
| 42 | [coverage:run] |
David Lord | 7c3d088 | 2020-01-26 07:50:18 -0800 | [diff] [blame] | 43 | branch = true |
David Lord | fe62681 | 2018-05-02 13:47:27 -0700 | [diff] [blame] | 44 | source = |
| 45 | markupsafe |
David Lord | 7c3d088 | 2020-01-26 07:50:18 -0800 | [diff] [blame] | 46 | tests |
David Lord | fe62681 | 2018-05-02 13:47:27 -0700 | [diff] [blame] | 47 | |
| 48 | [coverage:paths] |
| 49 | source = |
David Lord | 92486d0 | 2020-01-29 19:10:51 -0800 | [diff] [blame] | 50 | src |
| 51 | */site-packages |
David Lord | b41c96e | 2018-11-03 15:26:05 -0700 | [diff] [blame] | 52 | |
| 53 | [flake8] |
| 54 | # B = bugbear |
| 55 | # E = pycodestyle errors |
| 56 | # F = flake8 pyflakes |
| 57 | # W = pycodestyle warnings |
| 58 | # B9 = bugbear opinions |
| 59 | select = B, E, F, W, B9 |
David Lord | 7c3d088 | 2020-01-26 07:50:18 -0800 | [diff] [blame] | 60 | ignore = |
| 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 Lord | b41c96e | 2018-11-03 15:26:05 -0700 | [diff] [blame] | 69 | # up to 88 allowed by bugbear B950 |
| 70 | max-line-length = 80 |