-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d10155
commit 4f835d7
Showing
9 changed files
with
53 additions
and
36 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -127,3 +127,5 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
*.dnc.py |
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 @@ | ||
3.10.14 |
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 |
---|---|---|
@@ -1,20 +1,32 @@ | ||
# INSTALL DEPENDENCIES | ||
.PHONY: deps | ||
deps: | ||
@python3.10 -m pip install -r requirements.dev.txt | ||
@python3.10 -m pip install -r requirements.txt | ||
@python -m pip install -r requirements.dev.txt | ||
@python -m pip install -r requirements.txt | ||
|
||
# FORMAT PYTHON CODE | ||
.PHONY: fmt | ||
fmt: | ||
@black --config=pyproject.toml . | ||
@autoflake --config=pyproject.toml . | ||
@isort . | ||
@ruff check --fix | ||
@ruff format | ||
|
||
.PHONY: fmt-check | ||
fmt-check: | ||
@ruff check | ||
@ruff format --check | ||
|
||
# RUN UNIT TESTS | ||
.PHONY: test | ||
test: | ||
@pytest | ||
|
||
.PHONY: pkg-build | ||
pkg-build: | ||
@rm -rf build | ||
@rm -rf dist | ||
@python setup.py sdist bdist_wheel | ||
|
||
.PHONY: pkg-test | ||
pkg-test: | ||
@python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* | ||
|
||
.PHONY: pkg-prod | ||
pkg-prod: | ||
@python -m twine upload dist/* |
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 |
---|---|---|
@@ -1,15 +1,2 @@ | ||
[tool.black] | ||
line-length = 100 | ||
skip-magic-trailing-comma = true | ||
include = '\.py$' | ||
quiet = true | ||
|
||
[tool.isort] | ||
profile = "black" | ||
line_length = 100 | ||
|
||
[autoflake] | ||
ignore_init_module_imports = true | ||
in_place = true | ||
recursive = true | ||
remove_all_unused_imports = true | ||
[tool.ruff.lint] | ||
select = [ "I001" ] |
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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.0.1" | ||
__version__ = "1.1.0" |
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
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
black~=23.3.0 | ||
autoflake~=2.1.1 | ||
isort~=5.12.0 | ||
pipreqs~=0.4.13 | ||
pytest~=7.4.4 | ||
wheel~=0.42.0 | ||
pytest~=8.0.0 | ||
twine~=5.1.1 | ||
ruff~=0.5.7 |