forked from sgadrat/super-tilt-bro-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
108 lines (100 loc) · 2.8 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[project]
name = "stb-server"
dynamic = ["version"]
description = "Super Tilt Bro server"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.8.1"
keywords = ["nes", "stb", "server"]
authors = [
{name = "Sylvain Gadrat", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"Click>=7.1.2",
"fastapi>=0.104.1",
"requests>=2.25",
"uvicorn>=0.24.0",
]
[project.urls]
repository = "https://github.com/sgadrat/super-tilt-bro-server"
tracker = "https://github.com/sgadrat/super-tilt-bro-server/issues"
[project.scripts]
stb-login-server = "login_server.cli:main"
stb-ranking-server = "ranking_server.cli:main"
stb-replay-server = "replay_server.cli:main"
[build-system]
requires = [
'setuptools>=45',
'setuptools_scm[toml]>=6.2',
'pybind11>=2.7',
'twine>=3.3',
'wheel>=0.37',
]
build-backend = 'setuptools.build_meta'
[tool.setuptools.packages.find]
include = [
"login_server",
"ranking_server",
"replay_server",
]
[tool.setuptools_scm]
version_scheme = "post-release"
[tool.black]
line-length = 88
target-version = ['py38']
[tool.ruff]
exclude = ["**/_version.py"]
target-version = "py38"
select = [
"E", # pycodestyle
"F", # Pyflakes
"W", # pycodestyle
"C90", # mccabe
"I", # isort
"N", # pep8-naming
"D", # pydocstyle
"UP", # pyupgrade
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"EM", # flake8-errmsg
"EXE", # flake8-executable
"ISC", # flake8-implicit-str-concat
"ICN", # flake8-import-conventions
"G", # flake8-logging-format
"PIE", # flake8-pie
"T20", # flake8-print
"PT", # flake8-pytest-style
"Q", # flake8-quotes
"RSE", # flake8-raise
"RET", # flake8-return
"SLF", # flake8-self
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"TCH", # flake8-type-checking
"INT", # flake8-gettext
"PTH", # flake8-use-pathlib
"ERA", # eradicate
"PD", # pandas-vet
"TRY", # tryceratops
"RUF", # ruff
]
ignore = [
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the first line
]
[tool.ruff.isort]
required-imports = ["from __future__ import annotations"]