-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (69 loc) · 1.63 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
[tool.isort]
profile = 'black'
skip = ['env', 'migrations']
[tool.black]
line-length = 119
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
/(
| \.git
| \.mypy_cache
| \.tox
| \.venv
| env
| migrations
)/
'''
[tool.ruff]
line-length = 119
exclude = ['migrations']
[tool.poetry]
name = "simple-locations"
version = "4.1.0a0"
description = "The common location package for Catalpa's projects"
authors = [
"Joshua Brooks <[email protected]>",
"Anders Hofstee <[email protected]>",
"Nicoas Hoibian <[email protected]>",
]
license = "BSD"
readme = 'README.md'
repository = "https://github.com/catalpainternational/simple_locations"
homepage = "https://github.com/catalpainternational/simple_locations"
[tool.poetry.dependencies]
python = "^3.8"
django-mptt = "^0.14.0"
pydantic = ">1.10.6,<3"
django-ninja = "^1.1.0"
django-geojson = "^4.0.0"
geojson-pydantic = "^1.1.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = {extras = ["jupyter"], version = "^23.1.0"}
flake8 = "*"
isort = "*"
pre-commit = "*"
mypy = "*"
django-stubs = {extras = ["compatible-mypy"], version = "^1.16.0"}
psycopg2-binary = "*"
pytest-django = "*"
pytest-cov = "*"
factory-boy = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "tests.test_settings"
[[tool.mypy.overrides]]
module = "setuptools"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.factories"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "factory"
ignore_missing_imports = true