Skip to content

Commit

Permalink
Update pyproject.toml and requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil21 committed Sep 14, 2024
1 parent 451ebc0 commit bf20305
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ name = "AirbrakesV2"
description = "Logic for airbrakes as a part of the NASA Student Launch Competition"
requires-python = ">=3.10"
version = "0.1.0"
dependencies = [
"gpiozero", # Run sudo pigpiod before running the program
# Installation instructions for the following dependencies can be found in the README:
# "mscl" https://github.com/LORD-MicroStrain/MSCL/blob/master/BuildScripts/buildReadme_Linux.md
]

[project.optional-dependencies]
dev = [
"pytest",
"ruff",
]


# RUFF:
Expand All @@ -20,4 +31,5 @@ select = ["E", "F", "I", "PL", "UP", "RUF", "PTH", "C4", "B", "PIE", "SIM", "RET
"D100", "D101", "D300", "D418", "D419", "S"]

[tool.ruff.lint.per-file-ignores]
"Scripts/test_*.py" = ["T20"]
"Scripts/run_*.py" = ["T20"]
"tests/*.py" = ["T20", "S101", "D100"]
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
gpiozero
gpiozero
pytest

0 comments on commit bf20305

Please sign in to comment.