Skip to content

Commit

Permalink
Merge pull request #25 from significa/chore/update-dependencies
Browse files Browse the repository at this point in the history
Chore/update dependencies
  • Loading branch information
guilherme1805 authored Sep 17, 2024
2 parents 08caba5 + 8a65540 commit e49cabb
Show file tree
Hide file tree
Showing 8 changed files with 252 additions and 295 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
test-and-publish:
name: Test and publish
uses: significa/actions/.github/workflows/python-package.yaml@main
with:
lint_command: make lint
secrets:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
13 changes: 6 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ help: ## Show this help
@egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-21s\033[0m %s\n", $$1, $$2}'

lint: ## Ensure code properly formatted
pycodestyle .
flake8 .
isort . --check
lint: ## Lint the code according to the standards
ruff check .
ruff format --check .
pyright .

format: ## Format the code according to the standards
autopep8 --exclude .venv --exclude venv --recursive --in-place .
flake8 --format .
isort .
ruff check --fix .
ruff format .

local-install: ## Link the current directory to the user installation
pip3 install --force-reinstall --user --editable .
Expand Down
Loading

0 comments on commit e49cabb

Please sign in to comment.