forked from StepicOrg/epicbox
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Poetry version and dependencies in poetry.lock
The update was made from Poetry 1.5.1 to 1.7.1. This also led to the modification of some packages like 'certifi' and 'charset-normalizer', updating their versions and hash values as per the new dependencies.
- Loading branch information
Showing
8 changed files
with
253 additions
and
303 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
time: "00:00" | ||
groups: | ||
all-actions: | ||
patterns: [ "*" ] | ||
|
||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "00:00" |
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,30 +1,37 @@ | ||
name: Format code | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- 'master' | ||
pull_request: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref_name }} | ||
cancel-in-progress: true | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
format: | ||
name: Format with black and ruff | ||
name: Format and lint with ruff | ||
runs-on: [self-hosted, small] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
- uses: ./.github/workflows/actions/prepare | ||
- run: poetry run black . | ||
- run: poetry run ruff --fix --exit-zero . | ||
- name: Install Poetry | ||
run: pipx install poetry==$(head -n 1 .poetry-version) | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version-file: '.python-version' | ||
cache: 'poetry' | ||
- name: Install dependencies | ||
run: poetry install --no-interaction --no-ansi --no-root | ||
- name: Check files using the ruff formatter | ||
run: poetry run ruff format | ||
- name: Check files using the ruff linter | ||
run: poetry run ruff --fix --unsafe-fixes --preview --exit-zero . | ||
- name: Commit changes | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
fetch: false | ||
default_author: github_actions | ||
message: 'Auto format' | ||
add: '.' | ||
add: '*.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 @@ | ||
1.7.1 |
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.11.6 |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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