-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (53 loc) · 1.13 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
[tool.poetry]
name = "backend"
version = "0.1.0"
description = ""
authors = ["YuminosukeSato"]
readme = "README.md"
packages = [
{ include = "backend" },
{ include = "test" },
]
[tool.poetry.dependencies]
python = "^3.10"
fastapi = {extras = ["all"], version = "^0.104.0"}
httpx = "^0.25.0"
jinja2 = "^3.1.2"
requests = "^2.31.0"
pytest = "^7.4.3"
semanticscholar = "^0.5.0"
requests-mock = "^1.11.0"
deno = "^0.0.0"
deta = "^1.2.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.3"
black = "^23.10.1"
mypy = "^1.6.1"
pytest = "^7.4.3"
[tool.ruff]
target-version = "py310"
line-length = 79
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"B", # flake8-bugbear
"I", # isort
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
]
unfixable = [
"F401", # module imported but unused
"F841", # local variable is assigned to but never used
]
[tool.mypy]
python_version = 3.9
strict = true
[tool.black]
target-version= ['py310']
line-length = 79
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"