Skip to content
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

RDMO 2.1.0 #833

Merged
merged 139 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
6a9172e
Refactor autocomplete and add free autocomplete widget for arbitrary …
jochenklar Oct 6, 2023
14eace4
#745 Add order parameter back to managament interface
CalamityC Oct 20, 2023
de725c3
#745 Add order parameter back to managament interface
CalamityC Oct 20, 2023
8c31431
* revert auto formatting
CalamityC Oct 28, 2023
5ae2e54
#745 Add order parameter back to managament interface
CalamityC Oct 30, 2023
f11bf6c
* fix indent
CalamityC Oct 30, 2023
472e3e7
Fix optionset refresh in projects_questions (#819)
jochenklar Nov 10, 2023
42e08cf
Add missing gettext calls to sidebar in management interface
jochenklar Nov 16, 2023
2c6c487
Remove interpolation from MultiSelect, OrderedMultiSelect, and Select…
jochenklar Nov 16, 2023
6001430
refactor: use admin.register decorator
afuetterer Sep 28, 2023
345afd9
build: pin django-mptt dependency
afuetterer Oct 16, 2023
e710708
fix: update verbose_name_plural in questionset
afuetterer Nov 7, 2023
c7f625a
fix #791 for openid_connect providers and refactor keycloak snippet
MyPyDavid Oct 24, 2023
5c469a1
Add custom {more} markdown tag (#595)
jochenklar Oct 6, 2023
480ae0e
Adjust details/summary style
jochenklar Oct 6, 2023
983e7d4
Add ValueConflictValidator and check for conflicts when storing values
jochenklar Oct 30, 2023
ef5cd99
Autosave after eraseValue and removeValue
jochenklar Oct 30, 2023
dd7e415
Add tests for ValueConflictValidator
jochenklar Oct 31, 2023
6b07b40
Fix human2bytes utils function
jochenklar Oct 31, 2023
a5c916f
chore: refactor human2bytes utils func
MyPyDavid Oct 31, 2023
e31c155
Fix ValueQuotaValidator and add tests
jochenklar Oct 31, 2023
6cc0dbd
Update HUMAN2BYTES_MAPPER and add test
jochenklar Oct 31, 2023
41c92fa
Refactor progress bar and take sets and conditions into account (#596)
jochenklar Aug 22, 2023
e8bb565
Check is_optional for progress bar (again)
jochenklar Aug 22, 2023
39965a2
Add progress_count and progress_total to Project model, compute on POST
jochenklar Aug 24, 2023
e1e2fc5
Add navigation action to ProjectViewSet and refactor navigation (#299…
jochenklar Aug 24, 2023
fa2922d
Always show count in progress bar
jochenklar Sep 26, 2023
5de01de
Fix progress bar for questionsets
jochenklar Sep 26, 2023
2204884
Fix progress computation
jochenklar Sep 28, 2023
d6c9d17
Fix progress permissions
jochenklar Sep 28, 2023
0b2dd52
Add tests for progress and navigation
jochenklar Sep 28, 2023
c51b4f1
Add progress to project hierarchy (#488)
jochenklar Oct 8, 2023
2c2afef
chore: refactor values query to managers
MyPyDavid Nov 15, 2023
ade14af
Use "count of total" for the progress in projects table
jochenklar Nov 16, 2023
9ca8cb0
Add support for BASE_URL to the management react interface (#815)
jochenklar Nov 10, 2023
bbccddf
Rename variable
jochenklar Nov 16, 2023
f8c4a00
Merge pull request #821 from rdmorganiser/fix_management_interface
jochenklar Nov 16, 2023
b56c642
Add OpenProjectIssueProvider and OpenProjectProviderMixin
jochenklar Nov 3, 2023
a9ee930
Move GitHubIssueProvider, GitLabIssueProvider, and OpenProjectIssuePr…
jochenklar Nov 16, 2023
0485fe9
Merge pull request #679 from rdmorganiser/refactor_progressbar
jochenklar Nov 16, 2023
599913e
Fix pyproject.toml
jochenklar Nov 17, 2023
ff08f12
Add SimpleIssueProvider and fix tests for integrations
jochenklar Nov 17, 2023
6a9600f
Add condition URIs to tasks management
jochenklar Nov 18, 2023
7bdd0be
Add order parameter to tasks and views
jochenklar Nov 18, 2023
ed83257
Order issues by status and order and views by order in project_detail
jochenklar Nov 18, 2023
bcf2a46
Add option_text and option_additional_input to Value and
jochenklar Nov 18, 2023
5015f3b
Add tests for Value properties
jochenklar Nov 18, 2023
6f0b734
Refresh navigation after auto-save in interview
jochenklar Nov 19, 2023
c998f9e
chore: add pytest-playwright dependency
afuetterer Oct 31, 2023
9b71c8d
chore: add custom pytest marker for e2e tests
afuetterer Oct 31, 2023
44c163e
chore: enable debug mode per env, default false
afuetterer Oct 31, 2023
cf198bd
refactor: add "fixtures" fixture to reuse in e2e tests
afuetterer Oct 31, 2023
9e94f17
test: add frontend-tests with pytest-playwright
afuetterer Oct 31, 2023
28197f1
ci: run e2e tests in ci
afuetterer Nov 2, 2023
874b917
Merge pull request #769 from afuetterer/715-frontend-tests
afuetterer Nov 19, 2023
7966a28
ci: add build-wheel job
afuetterer Nov 1, 2023
5304eb2
Merge pull request #812 from afuetterer/802-build-wheel-in-ci
afuetterer Nov 21, 2023
6441d6c
feat: #824 add editors, sites to create Factories (when multisite)
MyPyDavid Nov 16, 2023
b2ee634
tests: fix test_value_select
MyPyDavid Nov 22, 2023
9578643
Merge pull request #772 from rdmorganiser/refactor_autocomplete
jochenklar Nov 23, 2023
a8d92c1
Fix translated strings (Projektaufgaben, Projektansichten) and some
jochenklar Oct 16, 2023
5c43c33
Add accept to project import plugins to restrict upload files (to e.g…
jochenklar Oct 16, 2023
c9bfea1
Add accept=".xml" to management upload form component
jochenklar Oct 16, 2023
adbd6fb
chore: add email to RoleAdmin
MyPyDavid Nov 22, 2023
0bb87a9
Merge pull request #785 from rdmorganiser/minor_fixes
jochenklar Nov 23, 2023
851baa4
chore: update ruff repo name in pre-commit config
afuetterer Nov 3, 2023
e4cdaab
build: update pre-commit hooks
github-actions[bot] Nov 14, 2023
d2b078f
chore: fix ruff errors (PGH002, UP032)
afuetterer Nov 15, 2023
f7af042
ci: add dependency groups to dependabot config
afuetterer Nov 19, 2023
efa16d0
Replace faulty grammar logic in templates with generic phrase and sym…
jochenklar Sep 30, 2023
2e4ede8
Remove verbose_name_plural from Page, QuestionSet and Question
jochenklar Sep 30, 2023
5ea33a1
Fix fixture
jochenklar Oct 1, 2023
b74ee4a
Fix migrations
jochenklar Nov 24, 2023
749f45e
Merge pull request #765 from rdmorganiser/fix_grammar
jochenklar Nov 24, 2023
971fa7f
Merge pull request #831 from rdmorganiser/order_tasks_views
jochenklar Nov 24, 2023
c737247
Merge pull request #832 from rdmorganiser/refactor_values
jochenklar Nov 24, 2023
3a5c294
Merge pull request #826 from rdmorganiser/fix_i18n
jochenklar Nov 24, 2023
5e63c75
Merge pull request #820 from rdmorganiser/fix_projects_questions_refresh
jochenklar Nov 24, 2023
d511cb8
Refactor Option.additional_input to be a choice field and add textarea
jochenklar Oct 4, 2023
c4bf1f6
Fix option templates, xml test files, and fixtures
jochenklar Oct 4, 2023
5a8f242
Add help text to options (#479)
jochenklar Oct 4, 2023
9a72de2
Add view text to options (#667)
jochenklar Oct 5, 2023
f3444f1
Fix tests
jochenklar Nov 24, 2023
9c9341f
Merge pull request #770 from rdmorganiser/refactor_options
jochenklar Nov 24, 2023
4b85c48
Catalogs view should filter by site #801
CalamityC Oct 31, 2023
b1f36d1
build: #828 add django-shibboleth-remoteuser fork
MyPyDavid Nov 24, 2023
88879b8
Merge pull request #816 from rdmorganiser/openproject_provider
jochenklar Nov 24, 2023
734d348
Remove GitHubImport and GitLabImport
jochenklar Nov 25, 2023
5027283
Add permissions to project creation and
jochenklar Oct 19, 2023
9d0793e
Fix can_add_project in template
jochenklar Oct 19, 2023
e59d286
Add ACCOUNT_GROUPS and SOCIALACCOUNT_GROUPS to settings
jochenklar Oct 19, 2023
deba05e
Flatten if/else blocks
jochenklar Nov 24, 2023
ceeccd8
Fix testing
jochenklar Nov 26, 2023
389680b
Fix project progress permissions
jochenklar Nov 26, 2023
1fb0af4
Fix tests
jochenklar Nov 26, 2023
faf201f
Merge pull request #788 from rdmorganiser/restricted_accounts
jochenklar Nov 26, 2023
86f4fe4
chore: enable flake8-django (DJ) rule in ruff config
afuetterer Nov 28, 2023
0e95d6a
ci: update dependabot js groups
afuetterer Nov 23, 2023
6bd56ec
build(deps-dev): bump the babel group with 5 updates
dependabot[bot] Nov 23, 2023
28d5045
build(deps): pin react-bootstrap
afuetterer Nov 29, 2023
f7c0972
Merge pull request #779 from afuetterer/766-flake8-django
afuetterer Nov 29, 2023
7020856
build(deps-dev): bump the eslint group with 2 updates
dependabot[bot] Nov 30, 2023
b9904a6
chore: bump eslint versions in pre-commit config
afuetterer Nov 30, 2023
7a76824
build(deps-dev): bump the webpack group with 4 updates
afuetterer Nov 30, 2023
2dbf330
ci: remove playwright browsers caching
afuetterer Nov 30, 2023
0c38d52
Merge pull request #804 from CalamityC/catalogs_view_filter
CalamityC Nov 30, 2023
ebf37d4
Merge pull request #790 from CalamityC/745-add-order-parameter
CalamityC Nov 30, 2023
6c4bcd2
Merge pull request #827 from rdmorganiser/824-set-current-site-as-edi…
jochenklar Nov 30, 2023
30140ce
Merge pull request #843 from afuetterer/ci
afuetterer Nov 30, 2023
6b1076d
test: take a screenshot of frontend for visual inspection
afuetterer Nov 30, 2023
7d75993
ci: ignore patch version updates in dependabot config
afuetterer Nov 30, 2023
3045403
Merge pull request #839 from afuetterer/update-js-dependencies
afuetterer Dec 1, 2023
590a9fb
Add socialaccount/login.html template
jochenklar Dec 1, 2023
e25291a
Merge pull request #844 from rdmorganiser/dependency-updates
afuetterer Dec 2, 2023
f1cad90
fix: add required dependency packaging
afuetterer Dec 3, 2023
d205dff
Merge pull request #857 from afuetterer/packaging
afuetterer Dec 4, 2023
9f1fcac
chore: remove obsolete VERSION variable
afuetterer Dec 1, 2023
1321c7b
Fix table project table layout
jochenklar Dec 4, 2023
69d01b7
Fix yesno widget style
jochenklar Dec 4, 2023
40325c3
Alter help_text for languages and fix get_model_field_meta
jochenklar Dec 4, 2023
72f137d
Update Option.additional_input choices and migration
jochenklar Dec 4, 2023
f3cd3a5
Update i18n
jochenklar Dec 4, 2023
4cd9b30
Update CHANGELOG
jochenklar Dec 4, 2023
1a454a4
Fix checkbox widget
jochenklar Dec 4, 2023
5de8c86
Add PROJECT_VALUES_CONFLICT_THRESHOLD to settings
jochenklar Dec 4, 2023
1eca62a
Fix free autocomplete widget
jochenklar Dec 4, 2023
8275256
prevent eslint from using local config files
CalamityC Dec 4, 2023
f118f9b
feat: #858 make filter lower case
MyPyDavid Dec 4, 2023
bc88b9a
ci: add current git sha to version in build-wheel job
afuetterer Dec 1, 2023
47bdc2c
Merge pull request #856 from afuetterer/build-wheel
afuetterer Dec 5, 2023
9a18d05
ci: add dependency tree to step summary of optional-dependencies job
afuetterer Dec 5, 2023
98d400b
build(deps-dev): add build, twine, etc. to dev dependency group
afuetterer Dec 5, 2023
4932f48
Merge pull request #862 from afuetterer/pipdeptree
afuetterer Dec 6, 2023
60c8a82
ci: add javascript dependency tree and outdated info to ci job
afuetterer Dec 6, 2023
e7ea136
Merge pull request #863 from afuetterer/npm
afuetterer Dec 6, 2023
de7f940
Fix typo
jochenklar Dec 6, 2023
cb53e2c
Update version
jochenklar Dec 6, 2023
4481a98
Fix i18n
jochenklar Dec 7, 2023
da51fd1
Add progress_total and progress_count to projects api
jochenklar Dec 7, 2023
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
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
'root': true,
'globals': {
'gettext': true,
'ngettext': true,
Expand Down Expand Up @@ -44,5 +45,5 @@ module.exports = {
'react': {
'version': 'detect'
}
}
},
}
110 changes: 80 additions & 30 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,82 @@
version: 2
updates:
- package-ecosystem: pip
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 10
target-branch: dependency-updates
labels:
- dependencies
- python
- type:maintenance
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 10
target-branch: dependency-updates
labels:
- dependencies
- github_actions
- type:maintenance
- package-ecosystem: npm
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 10
target-branch: dependency-updates
labels:
- dependencies
- javascript
- type:maintenance
- package-ecosystem: pip
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 10
target-branch: dependency-updates
labels:
- dependencies
- python
- type:maintenance
ignore:
- dependency-name: django-mptt # pinned, 0.15 requires Python >= 3.9
groups:
# create a single pull request containing all updates for the optional dependencies
optional:
patterns:
- coveralls
- django-allauth
- django-auth-ldap
- gunicorn
- mysqlclient
- pre-commit
- psycopg*
- pytest*
# create a single pull request containing all updates for django related dependencies
django:
patterns:
- django*
- drf*
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 10
target-branch: dependency-updates
labels:
- dependencies
- github_actions
- type:maintenance
groups:
# create a single pull request containing all updates for GitHub Actions
github-actions:
patterns:
- '*'
- package-ecosystem: npm
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 10
target-branch: dependency-updates
labels:
- dependencies
- javascript
- type:maintenance
ignore:
- dependency-name: react-bootstrap # rdmo still uses bootstrap 3, which is not supported by react-bootstrap > 0.33.1
- dependency-name: "*"
update-types: ["version-update:semver-patch"] # ignore patch versions for all JavaScript dependencies
groups:
react:
patterns:
- react*
redux:
patterns:
- redux*
babel:
patterns:
- '@babel*'
- babel*
webpack:
patterns:
- webpack*
- copy-webpack-plugin
eslint:
patterns:
- eslint*
prod-dependencies:
dependency-type: production
dev-dependencies:
dependency-type: development
141 changes: 116 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
with:
python-version: "3.12"
cache: pip
- run: python -m pip install --upgrade pip setuptools wheel
- run: python -m pip install -e .[dev]
- run: python -m pip install --upgrade pip
- run: python -m pip install --editable .[dev]
- name: Set up pre-commit cache
uses: actions/cache@v3
with:
Expand All @@ -64,17 +64,17 @@ jobs:
- name: Install Dependencies
run: |
sudo apt update
sudo apt install --yes pandoc texlive-xetex
python -m pip install --upgrade pip setuptools wheel
sudo apt install --yes pandoc texlive-xetex librsvg2-bin
python -m pip install --upgrade pip
pandoc --version
- name: Install rdmo[mysql] and start mysql
run: |
python -m pip install -e .[ci,mysql]
python -m pip install --editable .[ci,mysql]
sudo systemctl start mysql.service
if: matrix.db-backend == 'mysql'
- name: Install rdmo[postgres] and start postgresql
run: |
python -m pip install -e .[ci,postgres]
python -m pip install --editable .[ci,postgres]
sudo systemctl start postgresql.service
pg_isready
sudo -u postgres psql --command="CREATE USER postgres_user PASSWORD 'postgres_password' CREATEDB"
Expand All @@ -92,6 +92,30 @@ jobs:
GITHUB_DB_BACKEND: ${{ matrix.db-backend }}
COVERALLS_FLAG_NAME: '${{ matrix.db-backend }}: ${{ matrix.python-version }}'
COVERALLS_PARALLEL: true
# end-to-end tests
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'
- name: Install e2e tests dependencies
run: |
npm install
npm run build:prod
playwright install chromium
if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'
- run: mkdir screenshots
- name: Run end-to-end tests
run: pytest -p randomly -p no:cacheprovider --reuse-db --numprocesses=auto --dist=loadscope -m e2e --nomigrations
if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'
env:
DJANGO_DEBUG: True
GITHUB_DB_BACKEND: ${{ matrix.db-backend }}
- uses: actions/upload-artifact@v3
with:
name: screenshots
path: screenshots/*.png
if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'

coveralls:
name: Indicate completion to coveralls
Expand All @@ -106,6 +130,59 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-wheel:
name: Build python wheel
needs: test
runs-on: ubuntu-22.04
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- name: Get short commit SHA
id: short-sha
run: echo "sha=$(git rev-parse --short ${{ github.event.pull_request.head.sha }})" >> $GITHUB_OUTPUT
- name: Get current version (MAJOR.MINOR.PATCH)
id: current-version
run: echo "current_version=$(grep -Po '(?<=__version__ = ")[\d\w.]+(?=")' rdmo/__init__.py)" >> $GITHUB_OUTPUT
- name: Generate new version (current version + SHA)
id: new-version
run: echo "new_version=${{ steps.current-version.outputs.current_version }}+${{ steps.short-sha.outputs.sha }}" >> $GITHUB_OUTPUT
- name: Update version in rdmo/__init__.py
run: |
sed -i "s/__version__ = .*/__version__ = \"${{ steps.new-version.outputs.new_version }}\"/" rdmo/__init__.py
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm install
- run: npm run build:prod
- uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: pip
- run: |
python -m pip install --upgrade pip
python -m pip install .[dev]
- name: Build the wheel
run: python -m build --wheel
- name: Check metadata
run: python -m twine check --strict dist/*
- name: Install package from built wheel
run: python -m pip install --force-reinstall dist/rdmo*.whl
- name: Write info to step summary
run: |
echo -e "# ✓ Wheel successfully built (v${{ steps.new-version.outputs.new_version }})\n\n" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`console" >> $GITHUB_STEP_SUMMARY
echo "$ python -m pip show rdmo" >> $GITHUB_STEP_SUMMARY
python -m pip show rdmo >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
- name: Upload wheel as artifact
uses: actions/upload-artifact@v3
with:
name: wheel
path: dist/rdmo*.whl
if-no-files-found: error
retention-days: 30

dev-setup:
# Ref: structlog (MIT licensed) <https://github.com/hynek/structlog/blob/main/.github/workflows/ci.yml>
name: "Test dev setup on ${{ matrix.os }}"
Expand All @@ -119,11 +196,11 @@ jobs:
with:
python-version: "3.12"
cache: pip
- run: python -Im pip install -e .[dev]
- run: python -Im pip install --editable .[dev]
- run: python -Ic 'import rdmo; print(rdmo.__version__)'

optional-dependencies:
name: Test installation of optional-dependencies
dependencies:
name: Test installation of all dependencies
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand All @@ -135,34 +212,48 @@ jobs:
run: |
sudo apt update
sudo apt install --yes libldap2-dev libsasl2-dev
- run: python -m pip install --upgrade pip setuptools
- run: python -m pip install .[allauth,ci,dev,gunicorn,ldap,mysql,postgres,pytest]
- run: python -m pip freeze
- run: python -m pip list --outdated

webpack-build:
name: Test webpack-build
needs: lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: python -m pip install --upgrade pip
- run: python -m pip install .[allauth,shibboleth,ci,dev,gunicorn,ldap,mysql,postgres,pytest]
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm install --dev
- run: npm run build
- run: npm run build:prod
- name: Write info to step summary
run: |
{
echo -e "# ✓ All dependency groups successfully installed in combination\n\n"
echo '<details><summary>Installed Python packages (dependency tree)</summary>'
echo -e "\n\`\`\`console"
echo "$ python -m pipdeptree --local-only --exclude=pip,pipdeptree"
python -m pipdeptree --local-only --exclude=pip,pipdeptree
echo -e "\`\`\`\n</details>"
echo '<details><summary>Outdated Python dependencies</summary>'
echo -e "\n\`\`\`console"
echo "$ python -m pip list --outdated"
python -m pip list --outdated
echo -e "\`\`\`\n</details>"
echo '<details><summary>Installed JavaScript packages (dependency tree)</summary>'
echo -e "\n\`\`\`console"
echo "$ npm list --all"
npm list --all
echo -e "\`\`\`\n</details>"
echo '<details><summary>Outdated JavaScript dependencies</summary>'
echo -e "\n\`\`\`console"
echo "$ npm outdated --long"
npm outdated --long || true
echo -e "\`\`\`\n</details>"
} >> $GITHUB_STEP_SUMMARY

required-checks-pass:
if: always()
needs:
- lint
- test
- coveralls
- build-wheel
- dev-setup
- optional-dependencies
- webpack-build
- dependencies
runs-on: ubuntu-22.04
steps:
- uses: re-actors/alls-green@release/v1
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ dist
.on-save.json

rdmo/management/static

screenshots
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
hooks:
- id: check-hooks-apply
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-json
Expand All @@ -21,17 +21,17 @@ repos:
- id: trailing-whitespace
exclude: \.dot$
- id: debug-statements
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.291
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.50.0
rev: v8.54.0
hooks:
- id: eslint
args: [--fix, --color]
additional_dependencies:
- eslint@8.41.0
- eslint-plugin-react@7.32.2
- eslint@8.54.0
- eslint-plugin-react@7.33.2
- [email protected]
Loading