Skip to content

chore: alphabetically sort dev-requirements.txt #4890 #4893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Sync Fork with Upstream

on:
schedule:
- cron: '0 0 * * *' # This runs daily at midnight UTC. You can modify the cron expression.
pull_request:
branches:
- main # Trigger when a PR is created to the `main` branch.
workflow_dispatch: # Allow manually triggering the action

jobs:
sync:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Git
uses: actions/setup-python@v2 # You could use setup-git if you like to have git only, this is optional.

- name: Add upstream remote
run: git remote add upstream https://github.com/UPSTREAM_OWNER/UPSTREAM_REPO.git

- name: Fetch upstream changes
run: git fetch upstream

- name: Merge upstream changes into main
run: git checkout main && git merge upstream/main --allow-unrelated-histories

- name: Push changes to fork
run: git push origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This automatically has the permissions to push.
14 changes: 7 additions & 7 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
bandit; python_version <= "3.8"
bandit==1.8.3; python_version > "3.8"
black==24.10.0; python_version > "3.8"
black; python_version <= "3.8"
isort; python_version < "3.8"
Expand All @@ -7,22 +9,20 @@ pre-commit==4.1.0; python_version > "3.8"
codespell==v2.4.1
flake8; python_version < "3.8"
flake8==7.1.2; python_version >= "3.8"
bandit; python_version <= "3.8"
bandit==1.8.3; python_version > "3.8"
gitlint==v0.19.1
interrogate
jsonschema
mypy==v1.15.0
playwright
pytest>=7.2.0
pytest-xdist
pytest-cov
pytest-asyncio
pytest-cov
pytest-mock
pytest-playwright
playwright
pytest-xdist
types-beautifulsoup4
types-jsonschema
types-PyYAML
types-requests
types-setuptools
types-toml
build
types-toml