Skip to content

Commit

Permalink
Merge branch 'master' into bep020
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau authored Sep 7, 2023
2 parents 08250d3 + fc98780 commit 95d6dbf
Show file tree
Hide file tree
Showing 72 changed files with 9,508 additions and 514 deletions.
3,164 changes: 3,164 additions & 0 deletions .all-contributorsrc

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[codespell]
skip = *.js,*.svg,*.eps,.git,node_modules,env,venv,.mypy_cache,package-lock.json
ignore-words-list = fo,te,als,Acknowledgements,acknowledgements,winn
skip = *.js,*.svg,*.eps,.git,node_modules,env,venv,.mypy_cache,package-lock.json,CITATION.cff,tools/new_contributors.tsv,./tools/schemacode/docs/build
ignore-words-list = fo,te,als,Acknowledgements,acknowledgements,weill,bu,winn
builtin = clear,rare,en-GB_to_en-US
# this overloads default dictionaries and I have not yet figured out
# how to have multiple https://github.com/codespell-project/codespell/issues/2727
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,18 @@ jobs:
run: |
python no-bad-latin.py
working-directory: tools

# Validate CITATION.cff
validate_cff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip3 install cffconvert
- name: Validate CITATION.cff
run: make validate_citation_cff
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: check-added-large-files
- id: check-case-conflict
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
files: ^tools/(?!schemacode)
Expand All @@ -33,12 +33,12 @@ repos:
files: tools/schemacode
args: ["--settings-file", "tools/schemacode/pyproject.toml"]
- repo: https://github.com/pyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
args: [--config=tools/schemacode/setup.cfg]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.9-for-vscode
rev: v3.0.3
hooks:
- id: prettier
files: src/schema/.*/.*\.yaml
Expand All @@ -48,7 +48,7 @@ repos:
- id: codespell
args: ["--config=.codespellrc", "--dictionary=-", "--dictionary=.codespell_dict"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.5.1
hooks:
- id: mypy
# Sync with project.optional-dependencies.typing
Expand Down
Loading

0 comments on commit 95d6dbf

Please sign in to comment.