-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (36 loc) · 882 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "learning-postgresql"
version = "0.1.0"
description = ""
authors = ["Fredrik Averpil <fredrik.averpil@gmail.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.10"
pytest = "^8.3.3"
pytest-randomly = "^3.15.0"
psycopg2-binary = "^2.9.9"
peewee = "^3.17.6"
[tool.poetry.group.dev.dependencies]
black = "*"
mypy = "*"
ruff = "*" # avoid dependabot noise
[tool.ruff]
src = ["src", "tests"]
line-length = 88 # black default
select = ["ALL"]
ignore = ["D"]
[tool.ruff.per-file-ignores]
"tests/*" = [
"S101", # assert used
"S105", # hardcoded password
]
[tool.ruff.isort]
known-first-party = ["my_module1", "my_module2"]
[tool.pytest.ini_options]
testpaths = "tests"
[[tool.mypy.overrides]]
module = ["playhouse.*"]
ignore_missing_imports = true