-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
85 lines (71 loc) · 2.49 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
[tool.poetry]
name = "kso_utils"
version = "0.3.0"
description = "A package containing utility scripts for use with KSO analysis notebooks."
authors = ["Jurie Germishuys <jurie.germishuys@combine.se>"]
license = "MIT"
readme = "README.md"
packages = [{include = "kso_utils"}]
[tool.poetry.dependencies]
python = "^3.9"
requests = "^2.28.2"
pandas = "^1.5.3"
av = "^10.0.0"
boto3 = "^1.28.80"
boxmot= "10.0.44"
csv-diff = "^1.1"
dataclass-csv = "1.4.0"
ffmpeg-python = "0.2.0"
ftfy = "6.2.0"
fiftyone = "0.24.0"
folium = "^0.12.1"
gdown = "^5.1.0"
imagesize = "1.4.1"
ipyfilechooser = "^0.4.4"
ipysheet = "^0.4.4"
ipython = "^7.34.0"
ipywidgets = "7.6.5"
jupyter-bbox-widget = "0.5.0"
mlflow = "2.13.1"
more-itertools = "^10.1.0"
natsort = "^8.1.0"
notebook = "^6.5.5"
numpy = ">=1.22.0,<1.24.5"
pims = "0.6.1"
tqdm = "^4.64.1"
ultralytics = "^8.0.200"
wandb = "0.17.0"
yolov5 = "7.0.13"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.main]
# Add paths to the list of the source roots so that we can import from kso_utils from any path
source-roots = ["kso_utils"]
# Do not check any files in the directories listed here below
ignore-paths=["yolov5", "yolov5_tracker", "src", "assets"]
# Set the output format so it is easy to read
output-format="colorized"
# to ignore errors for certain imports
ignored-modules=["google"]
[tool.pylint.logging]
# The type of string formatting that logging methods do. `old` means using %
# formatting, `new` is for `{}` formatting.
logging-format-style = "new"
[tool.pylint."messages control"]
# For now we only want to see the errors (F and E), next step would be to turn on W
disable = ["C","R","W"]
errors-only = true # To not get a grade for code, remove this when W is turned on
[tool.pylint.typecheck]
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
# expressions are accepted.
# cv2 is a C-extension, but it has too many dynamically generated members, due to which it does not work to just put it on the extension-pkg-allow-list.
# See: https://pylint.pycqa.org/en/latest/user_guide/messages/error/no-member.html
generated-members = ["cv2.*"]
# For running pylint on .ipynb we need to use the package nbqa, here we define the config it should use for pylint.
# Note: it is using the config, just does not display in color
[tool.nbqa.config]
pylint = "pyproject.toml"
[tool.vulture]
exclude = ["yolov5_tracker/", "yolov5/", "src/", "assets/"]