-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
63 lines (54 loc) · 1.24 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
[tool.poetry]
name = "riff"
version = "0.1.9.0"
description = "Run ruff, but only fail on modified lines."
authors = ["dorschw <[email protected]>"]
license = "MIT"
readme = "README.md"
exclude = ["riff/release", "riff/tests"]
[tool.poetry.urls]
"Homepage" = "https://github.com/dorschw/riff"
"Source" = "https://github.com/dorschw/riff"
"Bug Tracker" = "https://github.com/dorschw/riff/issues"
[tool.poetry.dependencies]
python = "^3.10"
typer = ">=0.7.0"
unidiff = "^0.7.5"
loguru = "^0.7.0"
gitpython = "^3.1.27"
packaging = "^23.2"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
ruff = "^0.8.1"
pre-commit = "^4.0.0"
pytest = "^8.0.0"
ipykernel = "^6.25.1"
toml = "^0.10.2"
types-unidiff = "^0.7.0.20240505"
types-toml = "^0.10.8.20240310"
[tool.poetry.scripts]
riff = "riff.riff:app"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
lint.select = ["ALL"]
lint.ignore = [
"COM812",
"D",
"E501",
"EM102",
"FBT",
"INP001",
"ISC001",
"S101",
"TRY003",
"TD",
"W293",
"EM101",
]
target-version = "py310"
line-length = 88
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"loguru".msg = "use riff.logger instead"