Skip to content

Commit

Permalink
Merge pull request #9 from dnv-opensource/maintenance_updates
Browse files Browse the repository at this point in the history
Maintenance updates
  • Loading branch information
ClaasRostock authored Nov 20, 2023
2 parents a1d03b9 + 07e913e commit e4953ed
Show file tree
Hide file tree
Showing 15 changed files with 307 additions and 166 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yml,yaml}]
indent_style = space
indent_size = 2
2 changes: 1 addition & 1 deletion .github/workflows/_build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
# python-version: '3.11'
# cache: 'pip' # cache pip dependencies
# - name: Install cibuildwheel
# run: python -m pip install cibuildwheel==2.3.1
# run: python -m pip install cibuildwheel==2.16
# - name: Build wheels
# run: python -m cibuildwheel --output-dir wheels
# - uses: actions/upload-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
options: '--check --diff'
src: '.'
jupyter: true
version: '>=23.9'
version: '==23.11'

ruff:
runs-on: ubuntu-latest
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install ruff
run: pip install ruff>=0.0.290
run: pip install ruff==0.1.6
- name: Run ruff
run: ruff .

Expand All @@ -45,6 +45,6 @@ jobs:
pip install -r requirements.txt
pip install pytest
- name: Install pyright
run: pip install pyright>=1.1.325
run: pip install pyright==1.1.336
- name: Run pyright
run: pyright .
23 changes: 3 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,6 @@ __pycache__/
*.py[cod]
*$py.class

#vi & emacs
*~
'#'*

#packaging
*.whl
*.tar.gz

#doxygen
html/

# C extensions
*.so

Expand Down Expand Up @@ -139,15 +128,8 @@ dmypy.json
# Pyre type checker
.pyre/

# zip
*.zip
*.ZIP
*.tar.gz
*.tgz
*.tar.bz2
*.tbz
*.7z
*.rar
# PyCharm
.idea

# modules
modules.txt
Expand All @@ -159,3 +141,4 @@ modules.txt
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"charliermarsh.ruff",
"sourcery.sourcery",
"njpwerner.autodocstring",
"editorconfig.editorconfig",
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
Expand Down
Loading

0 comments on commit e4953ed

Please sign in to comment.