-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removes setup.py fixes pyproject typo sets max line to 88 columns Fix code style issues with Black Revert to c955e81 addresses review comments fixes optional dependencies migrates flake and unit test rules to pyproject toml addresses review comments
- Loading branch information
1 parent
9a8e0c1
commit 2ac512c
Showing
5 changed files
with
75 additions
and
10 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
[project] | ||
name = "rocketpy" | ||
version = "1.2.2" | ||
description="Advanced 6-DOF trajectory simulation for High-Power Rocketry." | ||
dynamic = ["dependencies"] | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{name = "Giovani Hidalgo Ceotto", email = "ghceotto@gmail.com"} | ||
] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Topic :: Rocket Flight Simulation :: Libraries :: Python Modules", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://rocketpy.org/" | ||
documentation = "https://docs.rocketpy.org/" | ||
repository = "https://github.com/RocketPy-Team/RocketPy" | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools] | ||
py-modules = ['rocketpy'] | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = { file = ["requirements.txt"] } | ||
|
||
[project.optional-dependencies] | ||
tests = [ | ||
"pytest", | ||
"pytest-coverage", | ||
"black[jupyter]", | ||
"flake8-black", | ||
"flake8-pyproject", | ||
"pandas", | ||
"numericalunits==1.25", | ||
"pylint", | ||
"isort" | ||
] | ||
|
||
env_analysis = [ | ||
"windrose>=1.6.8", | ||
"timezonefinder", | ||
"jsonpickle", | ||
"ipython", | ||
"ipywidgets>=7.6.3" | ||
] | ||
|
||
[tool.black] | ||
line-length = 88 | ||
include = '\.py$|\.ipynb$' | ||
skip-string-normalization = true | ||
|
||
[tool.coverage.report] | ||
# Regexes for lines to exclude from consideration | ||
exclude_also = [ | ||
#Don't complain about exceptions or warnings not being covered by tests | ||
"warnings.warn*" | ||
] | ||
|
||
[tool.flake8] | ||
max-line-length = 88 | ||
max-module-lines = 3000 | ||
ignore = ['E203', 'W503'] | ||
exclude = [ | ||
'.git,__pycache__', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters