-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (66 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (66 loc) · 1.76 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
[project]
name = "pytorch-mpiigaze"
version = "0.1.0"
description = "An unofficial PyTorch implementation of MPIIGaze and MPIIFaceGaze"
requires-python = ">=3.10"
dependencies = [
"fvcore>=0.1.5.post20221221",
"h5py>=3.16.0",
"numpy>=2.2.6",
"omegaconf>=2.3.1",
"opencv-python>=5.0.0.93",
"pandas>=2.3.3",
"scipy>=1.15.3",
"tensorboard>=2.21.0",
"termcolor>=3.3.0",
"torch>=2.12.1",
"torchvision>=0.27.1",
"tqdm>=4.68.3",
]
[dependency-groups]
dev = [
"mypy>=2.1.0",
"pre-commit>=4.6.0",
"pytest>=9.1.1",
"pytest-xdist>=3.8.0",
"ruff>=0.15.20",
]
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-n auto"
[tool.ruff]
line-length = 119
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"COM812", # missing-trailing-comma
"D203", # one-blank-line-before-class
"D213", # multi-line-summary-second-line
"E501", # line-too-long
"SIM117", # multiple-with-statements
#
"D100", # undocumented-public-module
"D101", # undocumented-public-class
"D102", # undocumented-public-method
"D103", # undocumented-public-function
"D104", # undocumented-public-package
"D105", # undocumented-magic-method
"D107", # undocumented-public-init
"EM101", # raw-string-in-exception
"FBT001", # boolean-type-hint-positional-argument
"FBT002", # boolean-default-value-positional-argument
"PGH003", # blanket-type-ignore
"PLR0913", # too-many-arguments
"PLR0915", # too-many-statements
"TRY003", # raise-vanilla-args
]
unfixable = [
"F401", # unused-import
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.format]
docstring-code-format = true