forked from squidgetx/arklet
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
86 lines (77 loc) · 2.39 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
[tool.poetry]
name = "arklet"
version = "0.1.0"
description = "An unassuming ARK minter, binder, and resolver"
authors = ["Alex Dempsey <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/internetarchive/arklet"
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
]
packages = [
{ include = "ark" },
{ include = "ark_import" },
]
[tool.poetry.dependencies]
python = ">=3.7.2,<4.0"
Django = [
{version = "~3.2", python = "~3.7"},
{version = ">=3.2", python = ">=3.8"}
]
psycopg2 = { version = "^2.7", optional = true }
sentry-sdk = {version = "^1.5.12", optional = true}
django-environ = {version = "^0.8.1", optional = true}
[tool.poetry.extras]
postgres = ["psycopg2"]
sentry = ["sentry-sdk"]
environ = ["django-environ"]
[tool.poetry.dev-dependencies]
black = "^22.3.0"
pylint = "^2.14.1"
isort = "^5.10.1"
flake8 = "^4.0.1"
pylint-django = "^2.5.3"
tox = "^3.25.0"
pytest = "^7.1.2"
pytest-django = "^4.5.2"
pylint-pytest = "^1.1.2"
coverage = "^6.4.1"
pytest-cov = "^3.0.0"
[tool.poetry.scripts]
server = 'server:main'
migrate = 'server:migrate'
createsuperuser = 'server:createsuperuser'
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "arklet.settings"
python_files = "tests.py test_*.py *_tests.py"
addopts = "--reuse-db"
[tool.isort]
profile = "black"
[tool.pylint.main]
load-plugins = ["pylint_django", "pylint_pytest"]
django-settings-module = "arklet.settings"
[tool.pylint.basic]
# Good variable names which should always be accepted, separated by a comma.
good-names = ["i", "j", "k", "e", "ex", "Run", "_", "rf", "pk", "db"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"