Skip to content

Commit f3249a8

Browse files
implements pyproject toml and change test filesystem
1 parent 947c7a4 commit f3249a8

File tree

3 files changed

+56
-1
lines changed

3 files changed

+56
-1
lines changed

lib/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def custom_openapi():
3535
return app.openapi_schema
3636
openapi_schema = get_openapi(
3737
title="RocketPy Infinity-API",
38-
version="1.0.0 BETA",
38+
version="1.1.0 BETA",
3939
description=(
4040
"<p style='font-size: 18px;'>RocketPy Infinity-API is a RESTful Open API for RocketPy, a rocket flight simulator.</p>"
4141
"<br/>"

pyproject.toml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[build-system]
2+
requires = ["setuptools", "setuptools_scm"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools.dynamic]
6+
dependencies = {file = ["requirements.txt"]}
7+
8+
[project]
9+
name = "Infinity-API"
10+
version = "1.1.0"
11+
description = "RESTFULL open API for rocketpy"
12+
dynamic = ["dependencies"]
13+
requires-python = ">=3.12"
14+
authors = [
15+
{name = "Gabriel Barberini", email = "gabrielbarberinirc@gmail.com"}
16+
]
17+
maintainers = [
18+
{name = "Aasit", email = "aasitvora1999@gmail.com"},
19+
{name = "Luiz Mota", email = "luiz.mota1999@usp.br"}
20+
]
21+
readme = "README.md"
22+
keywords = ["rocketpy", "rocket flight", "simulation", "rocket", "flight"]
23+
classifiers = [
24+
"Development Status :: Alpha",
25+
"Programming Language :: Python"
26+
]
27+
28+
[project.urls]
29+
Homepage = "http://api.rocketpy.org/"
30+
Documentation = "http://api.rocketpy.org/docs"
31+
Repository = "https://github.com/RocketPy-Team/infinity-api"
32+
"Bug Tracker" = "https://github.com/RocketPy-Team/Infinity-API/issues"
33+
34+
[tool.black]
35+
line-length = 79
36+
include = '\.py$'
37+
skip-string-normalization = true
38+
39+
[tool.pylint]
40+
max-line-length = 79
41+
disable = """
42+
line-too-long,
43+
duplicate-code,
44+
use-dict-literal,
45+
missing-module-docstring,
46+
missing-function-docstring,
47+
missing-class-docstring,
48+
too-few-public-methods,
49+
too-many-public-methods,
50+
too-many-instance-attributes,
51+
logging-fstring-interpolation,
52+
broad-exception-raised,
53+
import-error,
54+
protected-access
55+
"""

0 commit comments

Comments
 (0)