Skip to content

Commit

Permalink
[MAINT] update precommit hooks and rely on precommit ci (#70)
Browse files Browse the repository at this point in the history
* update precommit

* rely on pre-commit ci
  • Loading branch information
Remi-Gau authored Aug 2, 2024
1 parent 0c7f19c commit 97845a7
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 178 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/black.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/codespell.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/flake8.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/isort.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/update_precommit_hooks.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-ast
- id: check-case-conflict
Expand All @@ -23,26 +23,26 @@ repos:
args: [--profile, black, --settings-path, pyproject.toml]

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py38-plus]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.1.1
rev: 24.4.2
hooks:
- id: black
args: [--config, pyproject.toml]

- repo: https://github.com/adamchainz/blacken-docs
rev: 1.16.0
rev: 1.18.0
hooks:
- id: blacken-docs
additional_dependencies:
- black==23.9.1

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
args: [--toml, pyproject.toml]
Expand All @@ -55,7 +55,7 @@ repos:
args: [--mapping, '4', --sequence, '4', --offset, '0']

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.12.0
rev: v2.14.0
hooks:
- id: pretty-format-toml
args: [--autofix, --indent, '4']
Expand All @@ -66,7 +66,7 @@ repos:
- id: rst-backticks

- repo: https://github.com/pyCQA/flake8
rev: 7.0.0
rev: 7.1.0
hooks:
- id: flake8
args: [--config, .flake8, --verbose, nidmresults, examples]
Expand Down
2 changes: 1 addition & 1 deletion nidmresults/owl/nidm-results_100.owl
Original file line number Diff line number Diff line change
Expand Up @@ -4390,7 +4390,7 @@ obo:STATO_0000119 rdf:type owl:Class ;

obo:IAO_0000115 "model parameter estimation is a data transformation that finds parameter values (the model parameter estimates) most compatible with the data as judged by the model."@en ;

obo:IAO_0000116 """textual definition modified following contributiong by Thomas Nichols:
obo:IAO_0000116 """textual definition modified following contribution by Thomas Nichols:
https://github.com/ISA-tools/stato/issues/18"""@en ;

obo:IAO_0000114 obo:IAO_0000125 .
Expand Down
2 changes: 1 addition & 1 deletion nidmresults/owl/nidm-results_110.owl
Original file line number Diff line number Diff line change
Expand Up @@ -4608,7 +4608,7 @@ obo:STATO_0000119 rdf:type owl:Class ;

obo:IAO_0000115 "model parameter estimation is a data transformation that finds parameter values (the model parameter estimates) most compatible with the data as judged by the model."@en ;

obo:IAO_0000116 """textual definition modified following contributiong by Thomas Nichols:
obo:IAO_0000116 """textual definition modified following contribution by Thomas Nichols:
https://github.com/ISA-tools/stato/issues/18"""@en ;

obo:IAO_0000114 obo:IAO_0000125 .
Expand Down
2 changes: 1 addition & 1 deletion nidmresults/owl/nidm-results_120.owl
Original file line number Diff line number Diff line change
Expand Up @@ -4783,7 +4783,7 @@ obo:STATO_0000119 rdf:type owl:Class ;

obo:IAO_0000115 "model parameter estimation is a data transformation that finds parameter values (the model parameter estimates) most compatible with the data as judged by the model."@en ;

obo:IAO_0000116 """textual definition modified following contributiong by Thomas Nichols:
obo:IAO_0000116 """textual definition modified following contribution by Thomas Nichols:
https://github.com/ISA-tools/stato/issues/18"""@en ;

obo:IAO_0000114 obo:IAO_0000125 .
Expand Down
2 changes: 1 addition & 1 deletion nidmresults/owl/nidm-results_130.owl
Original file line number Diff line number Diff line change
Expand Up @@ -5177,7 +5177,7 @@ obo:STATO_0000119 rdf:type owl:Class ;

obo:IAO_0000115 "model parameter estimation is a data transformation that finds parameter values (the model parameter estimates) most compatible with the data as judged by the model."@en ;

obo:IAO_0000116 """textual definition modified following contributiong by Thomas Nichols:
obo:IAO_0000116 """textual definition modified following contribution by Thomas Nichols:
https://github.com/ISA-tools/stato/issues/18"""@en ;

obo:IAO_0000114 obo:IAO_0000125 .
Expand Down

0 comments on commit 97845a7

Please sign in to comment.