Skip to content

Commit

Permalink
Merge branch 'main' into ci/build-python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski authored Oct 31, 2023
2 parents ce45f4a + ff383e4 commit fc94853
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .codespellrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/testing-and-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.14.1
uses: pypa/cibuildwheel@v2.16.2

- name: List generated wheels
run: |
Expand Down
12 changes: 10 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ ci:

repos:

- repo: https://github.com/keewis/blackdoc
rev: v0.3.8
hooks:
- id: blackdoc
files: '\.py$'

- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
Expand All @@ -29,9 +35,11 @@ repos:
files: '\.py$'

- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
additional_dependencies:
- tomli

- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
Expand Down Expand Up @@ -69,6 +77,6 @@ repos:
exclude: '.*\.(cdb|rst|dat)$'

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.26.3
rev: 0.27.0
hooks:
- id: check-github-workflows
25 changes: 25 additions & 0 deletions doc/ignore-words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
aadd
ans
appen
delet
ect
emiss
esy
extrem
filname
imagin
ist
levl
mater
nin
parm
poin
pres
sord
struc
sur
ther
tread
vise
wan
wan
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ test-command = "pytest {project}/tests -vx"
# https://cibuildwheel.readthedocs.io/en/stable/faq/#apple-silicon
archs = ["x86_64", "universal2"]
test-skip = ["*_arm64", "*_universal2:arm64"]

[tool.codespell]
skip = '*.pyc,*.txt,*.gif,*.png,*.jpg,*.js,*.html,*.doctree,*.ttf,*.woff,*.woff2,*.eot,*.mp4,*.inv,*.pickle,*.ipynb,flycheck*,./.git/*,./.hypothesis/*,*.yml,./doc/build/*,./doc/images/*,./dist/*,*~,.hypothesis*,./doc/source/examples/*,*cover,*.dat,*.mac,build,./docker/mapdl/v*,./factory/*,*.mypy_cache/*,./docker/mapdl/*,./_unused/*,*.cdb'
ignore-words = "doc/ignore-words.txt"
quiet-level = 3
2 changes: 1 addition & 1 deletion requirements/requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==7.4.2
pytest==7.4.3
pytest-cov==4.1.0

0 comments on commit fc94853

Please sign in to comment.