-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
103 lines (89 loc) · 2.33 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[build-system]
requires = ["setuptools>=69"]
build-backend = "setuptools.build_meta"
[project]
name = "shaarpy"
version = "1.1.0"
description = "ShaarPy: Share your thoughts, links, ideas, notes. self-hosting bookmarks and micro blogging. If you ever wanted Shaarli in python, that's it ^_*"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.11"
authors = [{ name = "폭스마스크", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: WTFPL",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet",
"Topic :: Communications",
"Topic :: Database",
]
dependencies = [
"Django == 5.1.2",
"django-environ == 0.11.2",
"django-simple-search == 1.0.2",
"Markdown == 3.7",
"Pygments == 2.18.0",
"rich == 13.9.4",
"pytz == 2024.2",
"python-slugify == 8.0.4",
"Jinja2 == 3.1.4",
]
[project.urls]
Homepage = "https://github.com/foxmask/shaarpy/"
Documentation = "https://github.com/foxmask/shaarpy/blob/main/README.md"
Source = "https://github.com/foxmask/shaarpy/"
[tool.ruff]
line-length = 100
indent-width = 4
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint]
select = [
"F", # pyflakes
"DJ", # flake8 django
"E", # pycodestyle
"I", # isort
"ANN", # flake8 type annotations
"RUF", # ruff-specific rules
]
[tool.ruff.lint.isort]
combine-as-imports = true
[project.optional-dependencies]
test = [
"build",
"wheel",
"coverage",
"pytest-django",
"pipdeptree",
"twine",
"django-debug-toolbar",
"bandit",
"pip-audit",
]
lint = ["ruff == 0.7.3"]
[tool.setuptools.packages.find]
include = ["shaarpy*"]
namespaces = false
[tool.setuptools]
include-package-data = false
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
#strict_optional = true
python_version = 3.11
disallow_untyped_defs = true
#show_error_codes = true
#no_implicit_optional = true
#warn_return_any = true
#warn_unused_ignores = true
exclude = ["scripts", "docs", "test"]
ignore_missing_imports = true
[tool.django-stubs]
django_settings_module = "shaarpy.settings"
[tool.bandit]
exclude_dirs = ["tests"]