-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Make sure CIs are still green (#451)
- Loading branch information
Showing
113 changed files
with
5,836 additions
and
7,389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,3 @@ include = */expyfun/* | |
omit = | ||
*/setup.py | ||
*/expyfun/codeblocks/* | ||
*/expyfun/_externals/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
groups: | ||
actions: | ||
patterns: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
changelog: | ||
exclude: | ||
authors: | ||
- dependabot | ||
- pre-commit-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
on: [status] | ||
on: [status] # yamllint disable-line rule:truthy | ||
jobs: | ||
circleci_artifacts_redirector_job: | ||
if: "${{ startsWith(github.event.context, 'ci/circleci: build_docs') }}" | ||
runs-on: ubuntu-20.04 | ||
name: Run CircleCI artifacts redirector | ||
steps: | ||
- name: GitHub Action step | ||
uses: larsoner/circleci-artifacts-redirector-action@master | ||
uses: scientific-python/circleci-artifacts-redirector-action@master | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
api-token: ${{ secrets.CIRCLECI_TOKEN }} | ||
artifact-path: 0/html/index.html | ||
circleci-jobs: build_docs | ||
job-title: Check the rendered docs here! |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
*.orig | ||
.vscode | ||
doc/generated | ||
doc/sg_execution_times.rst | ||
.DS_Store | ||
|
||
# C extensions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
repos: | ||
# Ruff mne | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.3.7 | ||
hooks: | ||
- id: ruff | ||
name: ruff lint expyfun | ||
args: ["--fix"] | ||
files: ^expyfun/ | ||
- id: ruff | ||
name: ruff lint doc and examples | ||
# D103: missing docstring in public function | ||
# D400: docstring first line must end with period | ||
args: ["--ignore=D103,D400", "--fix"] | ||
files: ^doc/|^examples/ | ||
- id: ruff-format | ||
files: ^expyfun/|^doc/|^examples/ | ||
|
||
# Codespell | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.6 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
files: ^expyfun/|^doc/|^examples/ | ||
types_or: [python, bib, rst, inc] | ||
|
||
# yamllint | ||
- repo: https://github.com/adrienverge/yamllint.git | ||
rev: v1.35.1 | ||
hooks: | ||
- id: yamllint | ||
args: [--strict, -c, .yamllint.yml] | ||
|
||
# rstcheck | ||
- repo: https://github.com/rstcheck/rstcheck.git | ||
rev: v6.2.0 | ||
hooks: | ||
- id: rstcheck | ||
additional_dependencies: | ||
- tomli | ||
files: ^doc/.*\.(rst|inc)$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
extends: default | ||
|
||
ignore: | | ||
.github/workflows/codeql-analysis.yml | ||
rules: | ||
line-length: disable | ||
document-start: disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.