forked from lpoaura/GN2PG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
103 lines (90 loc) · 2.45 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
[tool.poetry]
name = "gn2pg_client"
packages = [
{ include = "gn2pg" },
]
version = "1.4.0"
description = "Import tool from GeoNature to a PostgreSQL database through Export module API (client side)"
authors = ["lpofredc <frederic.cloitre@lpo.fr>"]
maintainers = ["lpofredc <frederic.cloitre@lpo.fr>"]
license = "AGPL-3.0-or-later"
readme = "README.rst"
homepage = "https://github.com/lpoaura/gn2gn_client/"
keywords = ["GeoNature", "Export", "SINP", "opendata", "biodiversity"]
classifiers= [
"Development Status :: 1 - Planning",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Natural Language :: French",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Documentation",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Installation/Setup",
"Topic :: System :: Software Distribution",
]
[tool.poetry.scripts]
gn2pg_cli = "gn2pg.main:run"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
requests = "^2.28.2"
psycopg2-binary = "^2.9.5"
coloredlogs = "^15.0.1"
schema = "^0.7.5"
toml = "^0.10.2"
sqlalchemy = "^1.4.46"
[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
coverage = "^7.0.3"
pylint = "^2.6.0"
mypy = "^0.991"
tox = "^4.2.3"
isort = "^5.11.4"
sphinx-rtd-theme = "^0.5.0"
pre-commit = "^2.21.0"
black = "^22.12.0"
click = "^8.1.3"
[tool.poetry.group.docs.dependencies]
sphinx = "^6.1.0"
[tool.poetry.group.test.dependencies]
sqlalchemy-utils = "^0.39.0"
pytest = "^7.2.1"
[tool.isort]
include_trailing_comma = true
line_length = 99
multi_line_output = 3
profile = "black"
[tool.black]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
include = '\.pyi?$'
line-length = 99
target-version = ['py37']
[tool.pylint.'MESSAGES CONTROL']
max-line-length = 99
disable = """
too-many-arguments,
too-many-instance-attributes,
too-few-public-methods
"""
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"