Skip to content

Commit

Permalink
dependencies update (#6)
Browse files Browse the repository at this point in the history
* dependencies update

* gitignore edit

* dependencies update edit

* ci: pin poetry version

* ci: use ruff

* fix: lockfile

---------

Co-authored-by: Elias Gabriel <me@eliasfgabriel.com>
  • Loading branch information
hubertshelley and thearchitector authored Nov 23, 2023
1 parent dbfc034 commit f5da98d
Show file tree
Hide file tree
Showing 5 changed files with 453 additions and 253 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- name: Check typing
run: mypy --pretty .
- name: Check formatting
uses: psf/black@stable
uses: chartboost/ruff-action@v1
with:
args: check --target-version=py37

test:
runs-on: ubuntu-latest
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@
__pycache__

# builds
dist
dist

# ide
.idea

# pyenv
.python-version
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get update && \
apt-get install --no-install-recommends -y curl build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
curl -sSL https://install.python-poetry.org | python3 - && \
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.5.1 python3 - && \
poetry config virtualenvs.create false

COPY poetry.lock pyproject.toml /casbin-tortoise/
Expand Down
Loading

0 comments on commit f5da98d

Please sign in to comment.