-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (104 loc) · 2.12 KB
/
Copy pathpyproject.toml
File metadata and controls
108 lines (104 loc) · 2.12 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
108
[build-system]
build-backend = "uv_build"
requires = [ "uv-build>=0.9.3,<0.10" ]
[project]
name = "rsim"
version = "0.1.0"
description = "A research Python package."
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Isaac Corley", email = "isaac.corley@proton.me" },
]
requires-python = ">=3.12,<3.14"
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"numpy>=2.2.6",
"opencv-python-headless>=4.13.0.92",
"pandas>=2.3.3",
"rasterio>=1.4.4",
"scipy>=1.14.1",
"tqdm>=4.67.1",
"vismatch>=1.1.2",
"xformers>=0.0.35",
]
[dependency-groups]
dev = [
"arxiv-collector>=0.4.1",
"pre-commit>=4.3",
"pymupdf>=1.27.1",
"pytest>=8.4.2",
"pytest-cov>=7",
"ruff>=0.14.1",
"ty>=0.0.1a23",
]
[tool.ruff]
target-version = "py312"
line-length = 100
force-exclude = true
lint.extend-select = [
"ANN", # flake8-annotations
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"EXE", # flake8-executable
"FA", # flake8-future-annotations
"FLY", # flynt
"FURB", # refurb
"G", # flake8-logging-format
"I", # isort
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
"PERF", # Perflint
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PT", # flake8-pytest-style
"PYI", # flake8-pyi
"RET", # flake8-return
"RSE", # flake8-raise
"RUF",
"SIM", # flake8-simplify
"SLOT", # flake8-slots
"TCH", # flake8-type-checking
"TRY", # tryceratops
"UP", # pyupgrade
"W", # pycodestyle warnings
]
lint.ignore = [
"ANN401",
"COM812",
"COM819",
"D206",
"D300",
"E111",
"E114",
"E117",
"E402",
"PT011",
"PT012",
"Q000",
"Q001",
"Q002",
"Q003",
"RET505",
"RET506",
"RUF005",
"SIM108",
"TRY003",
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
]
lint.extend-per-file-ignores."tests/**" = [
"ANN001",
"ANN201",
"RUF029",
"SIM117",
"SIM300",
]
lint.isort.known-first-party = [ "rsim" ]
[tool.pytest]
ini_options.testpaths = [ "tests" ]