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

Maintenance updates #9

Merged
merged 3 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
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