-
Notifications
You must be signed in to change notification settings - Fork 24
/
pyproject.toml
72 lines (61 loc) · 1.92 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
[project]
name = "myria3d"
dynamic = ["version"]
description = "Deep Learning for the Semantic Segmentation of Aerial Lidar Point Clouds"
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 = "2024, Institut National de l'Information Géographique et Forestière"
[project.urls]
Documentation = "https://ignf.github.io/myria3d/"
Repository = "https://github.com/IGNF/myria3d"
Issues = "https://github.com/IGNF/myria3d/issues"
Changelog = "https://github.com/IGNF/myria3d/blob/main/CHANGELOG.md"
[tool.setuptools.dynamic]
version = {attr = "myria3d._version.__version__"}
[tool.setuptools]
packages = [ "myria3d" ]
[tool.black]
line-length = 99
target-version = ['py39']
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"
src_paths="myria3d,test"
[tool.pytest.ini_options]
log_cli = true
testpaths = [
"tests/myria3d/",
]
# Add coverage
addopts = "--cov ./myria3d/ --cov-report html --cov-fail-under 75 --cov-config pyproject.toml"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::UserWarning"
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')"
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
show_missing = true