2 Star 0 Fork 0

mirrors_kmbn/django-ninja

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pyproject.toml 2.78 KB
一键复制 编辑 原始数据 按行查看 历史
Vitaliy Kucheryaviy 提交于 2024-04-30 15:05 . upgrade ruff
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "ninja"
dist-name = "django-ninja"
author = "Vitaliy Kucheryaviy"
author-email = "ppr.vitaly@gmail.com"
home-page = "https://django-ninja.dev"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: AsyncIO",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
]
requires = ["Django >=3.1", "pydantic >=2.0,<3.0.0"]
description-file = "README.md"
requires-python = ">=3.7"
[tool.flit.metadata.urls]
Documentation = "https://django-ninja.dev"
Repository = "https://github.com/vitalik/django-ninja"
[tool.flit.metadata.requires-extra]
test = [
"pytest",
"pytest-cov",
"pytest-django",
"pytest-asyncio",
"psycopg2-binary",
"mypy==1.7.1",
"ruff==0.4.2",
"django-stubs",
]
doc = ["mkdocs", "mkdocs-material", "markdown-include", "mkdocstrings"]
dev = ["pre-commit"]
[tool.ruff]
target-version = "py37"
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C", # flake8-comprehensions
"E", # pycodestyle errors
"F", # pyflakes
"FURB", # refurb
"I", # isort
"PTH", # flake8-use-pathlib
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.lint.per-file-ignores]
"ninja/compatibility/datastructures.py" = ["C416"]
"ninja/utils.py" = ["B004"]
"tests/*" = ["C408"]
[tool.coverage.run]
omit = ["ninja/compatibility/*"]
branch = true
[tool.coverage.report]
fail_under = 100
skip_covered = true
show_missing = true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_kmbn/django-ninja.git
git@gitee.com:mirrors_kmbn/django-ninja.git
mirrors_kmbn
django-ninja
django-ninja
master

搜索帮助