Skip to content

Commit

Permalink
Fix CIs
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <[email protected]>
  • Loading branch information
adam2392 committed Dec 6, 2023
1 parent 9a8cd4e commit 3144420
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ in: inplace # just a shortcut
inplace:
$(PYTHON) setup.py build_ext -i

pre-commit:
@pre-commit run -a

pytest: test

test: in
Expand Down Expand Up @@ -142,6 +145,8 @@ run-checks:
isort --check .
black --check mne_connectivity examples
flake8 .
mypy ./mne_connectivity
@$(MAKE) pydocstyle
@$(MAKE) codespell-error
ruff .
toml-sort ./pyproject.toml --check
yamllint . -c .yamllint.yml --strict
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"]

[project]
classifiers = [
Expand Down Expand Up @@ -41,7 +41,7 @@ maintainers = [
{email = '[email protected]', name = 'Adam Li'},
]
name = 'mne-connectivity'
readme = { file='README.rst', content-type = "text/x-rst"}
readme = {content-type = "text/x-rst", file = 'README.rst'}
requires-python = '>=3.9'
version = "0.7.0.dev0"

Expand Down Expand Up @@ -93,6 +93,7 @@ style = [
"pre-commit",
'black',
'codespell',
'flake8',
'isort',
'pydocstyle',
'pydocstyle[toml]',
Expand Down

0 comments on commit 3144420

Please sign in to comment.