1 Star 0 Fork 0

FoundServer/python-markupsafe

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.cfg 2.30 KB
一键复制 编辑 原始数据 按行查看 历史
weizhixiang 提交于 2025-05-12 10:06 +08:00 . init: Init from openfound
[metadata]
name = MarkupSafe
version = attr: markupsafe.__version__
url = https://palletsprojects.com/p/markupsafe/
project_urls =
Donate = https://palletsprojects.com/donate
Documentation = https://markupsafe.palletsprojects.com/
Changes = https://markupsafe.palletsprojects.com/changes/
Source Code = https://github.com/pallets/markupsafe/
Issue Tracker = https://github.com/pallets/markupsafe/issues/
Chat = https://discord.gg/pallets
license = BSD-3-Clause
license_files = LICENSE.rst
maintainer = Pallets
maintainer_email = contact@palletsprojects.com
description = Safely add untrusted strings to HTML/XML markup.
long_description = file: README.rst
long_description_content_type = text/x-rst
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Text Processing :: Markup :: HTML
[options]
packages = find:
package_dir = = src
include_package_data = True
python_requires = >= 3.7
[options.packages.find]
where = src
[tool:pytest]
testpaths = tests
filterwarnings =
error
ignore:ast:DeprecationWarning
[coverage:run]
branch = True
source =
markupsafe
tests
[coverage:paths]
source =
src
*/site-packages
[flake8]
# B = bugbear
# E = pycodestyle errors
# F = flake8 pyflakes
# W = pycodestyle warnings
# B9 = bugbear opinions
# ISC = implicit str concat
select = B, E, F, W, B9, ISC
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
# zip with strict=, requires python >= 3.10
B905
# up to 88 allowed by bugbear B950
max-line-length = 80
[mypy]
files = src/markupsafe
python_version = 3.7
show_error_codes = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
no_implicit_optional = True
local_partial_types = True
no_implicit_reexport = True
strict_equality = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unused_ignores = True
warn_return_any = True
warn_unreachable = True
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/found-server/python-markupsafe.git
git@gitee.com:found-server/python-markupsafe.git
found-server
python-markupsafe
python-markupsafe
master

搜索帮助