-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (56 loc) · 1.36 KB
/
pyproject.toml
File metadata and controls
66 lines (56 loc) · 1.36 KB
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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.ruff]
extend-include = ["*.pyt"]
[tool.setuptools.packages.find]
include = ["lsi*"]
[tool.setuptools.package-data]
lsi = ["esri/help/gp/messages/*.xml", "esri/help/gp/toolboxes/*.xml", "esri/arcpy/*.xml", "esri/toolboxes/*.pyt"]
[project]
name = "lsi"
authors = [
{name = "ICube-SERTIT", email = "[email protected]"},
]
description = "SERTIT python project"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
]
version = "1.4.1"
dependencies = [
# Libs for all platforms
"pysheds",
"whitebox-workflows",
"jenkspy",
]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["E501", "E402"]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
[project.scripts]
lsi = "lsi.lsi_cli:compute_lsi"
lsi_ftep = "lsi.lsi_ftep:compute_lsi"
# Pytest options
[tool.pytest.ini_options]
log_cli = true
log_cli_format = "%(name)s: %(asctime)s - [%(levelname)s] - %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
log_cli_level = "INFO"