97 lines
2.1 KiB
TOML
97 lines
2.1 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
dynamic = ["version"]
|
|
name = "anki_creator_flask"
|
|
authors = [
|
|
{ name="Wolfang Torres", email="wolfang.torres@gmail.com" },
|
|
]
|
|
description = "A webpage to be the forntend of the anki creator tool"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Programming Language :: Python :: 3",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
license = "GPL-3.0-or-later"
|
|
license-files = ["LICENSE"]
|
|
dependencies = [
|
|
"flask"
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/pypa/sampleproject"
|
|
Issues = "https://github.com/pypa/sampleproject/issues"
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
(
|
|
\.eggs
|
|
| \.git
|
|
| \.venv
|
|
| build
|
|
| dist
|
|
)
|
|
'''
|
|
|
|
[tool.isort]
|
|
src_paths = ["gtomachine", "test"]
|
|
skip_glob = [".git", "__pycache__", ".vscode", "*venv", "build", "dist", "old", "*.egg-info"]
|
|
line_length = 88
|
|
multi_line_output = 3
|
|
include_trailing_comma = true
|
|
force_grid_wrap = 0
|
|
use_parentheses = true
|
|
ensure_newline_before_comments = true
|
|
verbose = false
|
|
case_sensitive = true
|
|
length_sort = false
|
|
balanced_wrapping = true
|
|
atomic = true
|
|
known_gto = ["gtomachine", "gtodata", "gtotools"]
|
|
import_heading_stdlib = "Standard Library"
|
|
import_heading_thirdparty = "Pip"
|
|
import_heading_gto = "GTO"
|
|
import_heading_localfolder = "Local"
|
|
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "GTO", "FIRSTPARTY", "LOCALFOLDER"]
|
|
|
|
[tool.pylint.messages_control]
|
|
disable = "C0330, C0326"
|
|
|
|
[tool.pylint.format]
|
|
max-line-length = "88"
|
|
|
|
[tool.pylint.reports]
|
|
output-format="text"
|
|
msg-template="{path}:{module}:{line}: [{msg_id}({symbol}), {obj}] {msg}"
|
|
|
|
[tool.pylint.logging]
|
|
logging-format-style="new"
|
|
logging-modules="logging"
|
|
|
|
[tool.flakehell]
|
|
max_line_length = 88
|
|
format = "grouped"
|
|
show_source = false
|
|
exclude = [
|
|
".git",
|
|
"__pycache__",
|
|
".vscode",
|
|
"*venv",
|
|
"build",
|
|
"dist",
|
|
"old",
|
|
"*.egg-info",
|
|
]
|
|
|
|
[tool.flakehell.plugins]
|
|
mccabe = ["+C*"]
|
|
pycodestyle = ["+E*", "+W*", "-E203", "-E501", "-W503"]
|
|
pyflakes = ["+F*"]
|
|
flake8-bugbear = ["+*", "+B950"]
|