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

Dev #21

Merged
merged 2 commits into from
Nov 22, 2023
Merged

Dev #21

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
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: release
name: CD

on:
workflow_dispatch:
pull_request:
push:
branches:
- main
Expand Down Expand Up @@ -85,3 +84,9 @@ jobs:

- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

# Upload to GitHub Releases on every release.
release-github:
name: Publish package distributions to GitHub Releases
uses: python-semantic-release/upload-to-gh-release@main
if: steps.release.outputs.released == 'true'
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ exclude: |
docs/api/invert4geom.rst|
docs/api/invert4geom.synthetic.rst|
docs/api/invert4geom.utils.rst|
CHANGELOG.md|
)$

repos:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ unfixable = [
"PD004", # Changes .notna to .notnull
"PD011", # Changes .values() to .to_numpy()
]
exclude = ["docs/index.md"]
exclude = ["docs/index.md", "CHANGELOG.md"]
line-length = 88 # Set the maximum line length to 88.
flake8-unused-arguments.ignore-variadic-names = true
isort.required-imports = ["from __future__ import annotations"]
Expand All @@ -195,7 +195,7 @@ extend-include = ["*.ipynb"]

[tool.pylint]
py-version = "3.8"
ignore-paths = [".*/_version.py"]
ignore-paths = [".*/_version.py", "CHANGELOG.md"]
reports.output-format = "colorized"
similarities.ignore-imports = "yes"
messages_control.disable = [
Expand Down
Loading