-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (100 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
108 lines (100 loc) · 2.1 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
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
104
105
106
107
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "doc-ufcn"
version = "0.2.0rc4"
description = "Doc-UFCN"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">= 3.10, < 3.11"
authors = [
{ name = "Mélodie Boillet", email = "boillet@teklia.com" },
]
dependencies = [
"huggingface-hub==0.20.2",
"numpy==2.1.0",
"opencv-python-headless==4.7.0.72",
"pyyaml==6.0.2",
"requests>=2,<3",
"torch==2.1.0",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
# Topics
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Recognition",
]
[project.urls]
Source = "https://gitlab.teklia.com/dla/doc-ufcn/"
Tracker = "https://gitlab.teklia.com/dla/doc-ufcn/issues/"
[project.optional-dependencies]
training = [
"imageio==2.34.2",
"matplotlib==3.9.2",
"mlflow==2.2.1",
"Shapely==2.0.5",
"teklia-toolbox==0.1.5",
"tensorboard==2.17.1",
"torchvision==0.16.0",
"tqdm==4.66.1",
]
test = [
"scikit-image==0.24.0",
"pytest==8.3.2",
"pytest-lazy-fixtures==1.0.7",
]
[tool.setuptools.packages]
find = {}
[tool.ruff]
exclude = [".git", "__pycache__"]
[tool.ruff.lint]
ignore = ["E501"]
select = [
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# Flake8 Debugger
"T1",
# Isort
"I",
# Implicit Optional
"RUF013",
# Invalid pyproject.toml
"RUF200",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# flake8-pytest-style
"PT",
# flake8-use-pathlib
"PTH",
]
[tool.ruff.lint.isort]
known-third-party = [
"PIL",
"cv2",
"gradio",
"huggingface_hub",
"imageio",
"matplotlib",
"mlflow",
"numpy",
"pytest",
"requests",
"setuptools",
"shapely",
"skimage",
"teklia_toolbox",
"torch",
"torchvision",
"tqdm",
"yaml",
]