|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=61.0", "wheel"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "OBC-GS" |
| 7 | +version = "0.1.0" |
| 8 | +description = "A package for the University of Waterloo Orbital Design Team's GS and OBC" |
| 9 | +authors = [ |
| 10 | + { name = "University of Waterloo Orbital Design Team" } |
| 11 | +] |
| 12 | +requires-python = ">=3.11" |
| 13 | + |
| 14 | +dependencies = [ |
| 15 | + "requests>=2.31", |
| 16 | + "pyserial>=3", |
| 17 | + "fastapi[standard]>=0.115.0", |
| 18 | + "sqlmodel>=0.0.22", |
| 19 | + "jinja2>=3.1.6", |
| 20 | + "toml>=0.10.2", |
| 21 | + "loguru>=0.7.3", |
| 22 | + "pyham_ax25>=1.0.2", |
| 23 | + "tinyaes>=1.1.1", |
| 24 | + "pyStuffing>=0.0.4", |
| 25 | + "hypothesis>=6.131.30", |
| 26 | + "psycopg2-binary>=2.9.10", |
| 27 | + "python-dotenv>=1.1.0", |
| 28 | + "tqdm>=4.67" |
| 29 | +] |
| 30 | + |
| 31 | +[project.optional-dependencies] |
| 32 | +dev = [ |
| 33 | + "pre-commit>=3.3.3", |
| 34 | + "pytest>=7.4.0", |
| 35 | + "pytest-cov>=4.1.0", |
| 36 | + "mypy>=1.8.0", |
| 37 | + "ruff>=0.2.0", |
| 38 | + "psycopg[binary]>=3.2.6", |
| 39 | + "pytest-postgresql>=7.0.1" |
| 40 | +] |
| 41 | + |
| 42 | +[tool.setuptools] |
| 43 | +packages = ["gs", "gs.backend", "obc.tools.python", "interfaces"] |
| 44 | +zip_safe = false |
| 45 | +include-package-data = true |
| 46 | + |
| 47 | +[tool.setuptools.package-data] |
| 48 | +"gs" = ["py.typed"] |
| 49 | +"gs.backend" = ["py.typed"] |
| 50 | +"obc.tools.python" = ["py.typed"] |
| 51 | +"interfaces" = ["py.typed"] |
| 52 | + |
1 | 53 | [tool.ruff] |
2 | | -extend = "../pyproject.toml" |
3 | | -lint.ignore = ["E", "F", "N", "UP", "SIM", "B", "ANN", "A", "D"] |
| 54 | +line-length = 88 |
| 55 | +ignore = ["E", "F", "N", "UP", "SIM", "B", "ANN", "A", "D"] |
| 56 | +exclude = ["python_test/*"] |
| 57 | + |
| 58 | +[tool.mypy] |
| 59 | +files = ["gs", "gs/backend", "obc/tools/python", "interfaces"] |
| 60 | +ignore_missing_imports = true |
| 61 | + |
| 62 | +[tool.pytest.ini_options] |
| 63 | +testpaths = ["python_test"] |
| 64 | +addopts = "--cov=gs --cov=obc --cov-report=term-missing" |
| 65 | + |
| 66 | +[tool.pre-commit] |
| 67 | +repos = [ |
| 68 | + { repo = "https://github.com/charliermarsh/ruff-pre-commit", rev = "v0.2.0", hooks = [{id = "ruff"}] }, |
| 69 | + { repo = "https://github.com/pre-commit/mirrors-mypy", rev = "v1.8.0", hooks = [{id = "mypy"}] }, |
| 70 | + { repo = "https://github.com/pre-commit/pre-commit-hooks", rev = "v4.3.0", hooks = [ |
| 71 | + {id = "trailing-whitespace"}, |
| 72 | + {id = "end-of-file-fixer"} |
| 73 | + ] } |
| 74 | +] |
0 commit comments