Skip to content

Commit

Permalink
implements pyproject toml and change test filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBarberini committed Apr 14, 2024
1 parent 947c7a4 commit f3249a8
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def custom_openapi():
return app.openapi_schema
openapi_schema = get_openapi(
title="RocketPy Infinity-API",
version="1.0.0 BETA",
version="1.1.0 BETA",
description=(
"<p style='font-size: 18px;'>RocketPy Infinity-API is a RESTful Open API for RocketPy, a rocket flight simulator.</p>"
"<br/>"
Expand Down
55 changes: 55 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}

[project]
name = "Infinity-API"
version = "1.1.0"
description = "RESTFULL open API for rocketpy"
dynamic = ["dependencies"]
requires-python = ">=3.12"
authors = [
{name = "Gabriel Barberini", email = "[email protected]"}
]
maintainers = [
{name = "Aasit", email = "[email protected]"},
{name = "Luiz Mota", email = "[email protected]"}
]
readme = "README.md"
keywords = ["rocketpy", "rocket flight", "simulation", "rocket", "flight"]
classifiers = [
"Development Status :: Alpha",
"Programming Language :: Python"
]

[project.urls]
Homepage = "http://api.rocketpy.org/"
Documentation = "http://api.rocketpy.org/docs"
Repository = "https://github.com/RocketPy-Team/infinity-api"
"Bug Tracker" = "https://github.com/RocketPy-Team/Infinity-API/issues"

[tool.black]
line-length = 79
include = '\.py$'
skip-string-normalization = true

[tool.pylint]
max-line-length = 79
disable = """
line-too-long,
duplicate-code,
use-dict-literal,
missing-module-docstring,
missing-function-docstring,
missing-class-docstring,
too-few-public-methods,
too-many-public-methods,
too-many-instance-attributes,
logging-fstring-interpolation,
broad-exception-raised,
import-error,
protected-access
"""
File renamed without changes.

0 comments on commit f3249a8

Please sign in to comment.