-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
53 lines (47 loc) · 948 Bytes
/
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
[tool.poetry]
name = "pymage_size"
version = "1.7.1"
description = "A Python package for getting the dimensions of an image without loading it into memory."
authors = ["cobaltcore <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/kobaltcore/pymage_size"
homepage = "https://github.com/kobaltcore/pymage_size"
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.dev-dependencies]
pre-commit = "^3.0.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.mypy]
ignore_missing_imports = true
[tool.black]
line-length = 120
[tool.ruff]
fix = true
force-exclude = true # necessary for excludes to work in pre-commit
# exclude = [
# "path/",
# ]
ignore = [
"E402",
"E722",
"TID252",
"C901",
]
line-length = 120
select = [
"E",
"F",
"W",
"I",
"UP",
"S105",
"S106",
"S107",
"C",
"B",
"Q",
"RUF",
]