Skip to content

Commit

Permalink
chore: create project
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMaggio committed Apr 4, 2024
1 parent df5f736 commit 65d4a26
Show file tree
Hide file tree
Showing 6 changed files with 473 additions and 0 deletions.
1 change: 1 addition & 0 deletions performance-metrics/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.ruff_cache/
33 changes: 33 additions & 0 deletions performance-metrics/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.PHONY: ruff-check
ruff-check:
pipenv run python -m ruff check .

.PHONY: mypy
mypy:
pipenv run python -m mypy --pretty .

.PHONY: ruff-fix
ruff-fix:
pipenv run python -m ruff check . --fix

.PHONY: format-readme
format-readme:
pipenv run python -m mdformat README.md

.PHONY: lint
lint:
$(MAKE) ruff-check
$(MAKE) mypy

.PHONY: format
format:
$(MAKE) ruff-fix
$(MAKE) format-readme

.PHONY: setup
setup:
pipenv sync --dev

.PHONY: teardown
teardown:
pipenv --dev --rm
20 changes: 20 additions & 0 deletions performance-metrics/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
opentrons-shared-data = {file = "../shared-data/python", editable = true}

[dev-packages]
pytest = "==8.1.1"
ruff = "==0.3.5"
mypy = "==1.9.0"

# For Github Flavored Markdown
mdformat-gfm = "==0.3.6"
mdformat-frontmatter = "==2.0.8"
mdformat-footnote = "==0.1.1"

[requires]
python_version = "3.10"
Loading

0 comments on commit 65d4a26

Please sign in to comment.