-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (46 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
52 lines (46 loc) · 1.31 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "auth-util"
dynamic = ['version']
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"fastapi>=0.115.6",
"grpcio-tools>=1.69.0",
"grpcio>=1.69.0",
"itsdangerous>=2.2.0",
"pydantic>=2.10.4",
"pydantic-settings>=2.7.1",
"pyjwt>=2.10.1",
]
[tool.hatch.version]
path = 'auth_util/version.py'
[tool.ruff]
line-length = 120
target-version = 'py310'
extend-exclude = ['auth_util/refresh_token_pb2.py', 'auth_util/refresh_token_pb2_grpc.py', 'auth_util/refresh_token_pb2.pyi']
[tool.ruff.lint]
select = [
'F', # Pyflakes
'E', # pycodestyle (Error)
'I', # isort
'UP', # pyupgrade
'YTT', # flake8-2020
'B', # flake8-bugbear
'T10', # flake8-debugger
'T20', # flake8-print
'C4', # flake8-comprehensions
'PYI006', # flake8-pyi
'PYI062', # flake8-pyi
'PYI063', # flake8-pyi
'PYI066', # flake8-pyi
]
ignore = ['D100', 'D105', 'D107', 'D205', 'D415', 'E501', 'B011', 'B028', 'B904']
flake8-quotes = {inline-quotes = 'single', multiline-quotes = 'double'}
mccabe = { max-complexity = 14 }
[tool.ruff.lint.flake8-tidy-imports]
# Disallow all relative imports.
ban-relative-imports = "all"