generated from ashleve/lightning-hydra-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
73 lines (64 loc) · 2.07 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
[project]
name = "lidar_prod"
dynamic = ["version"]
description = "A 3D semantic segmentation production tool to augment rule- based Lidar classification with AI and databases."
readme = "README.md"
authors = [
{ name = "Charles GAYDON", email = "[email protected]" }
]
maintainers = [
{name = "Charles GAYDON", email = "[email protected]"},
{name = "Michel DAAB"},
{name = "Léa VAUCHIER", email = "[email protected]"}
]
license = {file = "LICENSE"}
dependencies = [] # assume an environment as described in environment.yml
[metadata]
project_template = "https://github.com/ashleve/lightning-hydra-template"
copyright = "2022, Institut National de l'Information Géographique et Forestière"
[project.urls]
Documentation = "https://ignf.github.io/lidar-prod/"
Repository = "https://github.com/IGNF/lidar-prod"
Issues = "https://github.com/IGNF/lidar-prod/issues"
Changelog = "https://github.com/IGNF/lidar-prod/blob/main/CHANGELOG.md"
[tool.setuptools.dynamic]
version = {attr = "lidar_prod.version.__version__"}
[tool.setuptools]
packages = [ "lidar_prod" ]
[tool.black]
line-length = 99
target-version = ['py310']
include = '\.pyi?$'
# 'extend-exclude' excludes files or directories in addition to the defaults
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
^/foo.py # exclude a file named foo.py in the root of the project
| .*_pb2.py # exclude autogenerated Protocol Buffer files anywhere in the project
)
'''
[tool.isort]
profile = "black"
filter_files = true
known_first_party = ["lidar_prod"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.pytest.ini_options]
python_files = 'tests/*'
log_cli = true
addopts = """
--cov "./lidar_prod/"
--cov-fail-under 92
--cov-report html
"""
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::UserWarning",
"ignore::FutureWarning",
"ignore::optuna.exceptions.ExperimentalWarning"
]
[tool.coverage.run]
branch = true
omit = ['lidar_prod/run.py']
[tool.coverage.report]
show_missing = true