generated from 8percent/python-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (49 loc) · 1.17 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
[tool.poetry]
name = "django-app"
version = "1.0.0"
description = "Provide base template for django app package"
authors = ["JaeyoungHeo <[email protected]>"]
maintainers = ["JaeyoungHeo <[email protected]>"]
readme = "README.md"
repository = "https://github.com/8percent/django-app"
license = "MIT"
packages = [
{ include = "django_app", from = "src" },
]
[tool.poetry.dependencies]
python = ">=3.9 <3.11"
django = "~3.2"
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
isort = "^5.10.1"
tox = "^3.25.1"
flake8 = "^5.0.1"
pytest-cov = "^3.0.0"
codecov = "^2.1.12"
black = "^22.6.0"
pre-commit = "^2.19.0"
pytest-django = "^4.5.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# Lint Configurations
[tool.isort]
force_single_line = "True"
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
skip_glob = ["*/migrations/*"]
[tool.black]
preview = "True"
line-length = "79"
target-version = ['py310']
skip-string-normalization = "True"
extend-exclude = '''
(
migrations
)
'''
[tool.pytest.ini_options]
addopts = "-p no:cacheprovider"
testpaths = [
"tests",
]
DJANGO_SETTINGS_MODULE = "tests.settings"