Skip to content

Commit

Permalink
Chore: Apply Copier template (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet committed Sep 12, 2023
1 parent 85652a4 commit d86b378
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .auto-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"template": ".auto-changelog-template.hbs",
"commitLimit": false,
"backfillLimit": false,
"ignoreCommitPattern": "Release:? [0-9]+\\.[0-9]+\\.[0-9]+|Update CHANGELOG.*|.*\\[skip-changelog\\].*|\\[pre-commit.ci\\]",
"ignoreCommitPattern": "^Release:? [0-9]+\\.[0-9]+\\.[0-9]+$|^Update CHANGELOG.*|.*\\[skip-changelog\\].*|^\\[pre-commit.ci\\]|^\\(dependabot\\) .*",
"commitUrl": "https://github.com/BlueBrain/NeuroTS/commit/{id}",
"issueUrl": "https://github.com/BlueBrain/NeuroTS/issues/{id}",
"mergeUrl": "https://github.com/BlueBrain/NeuroTS/pull/{id}",
Expand Down
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changes here will be overwritten by Copier

_commit: 0.1.44
_commit: 0.1.51
_src_path: git@bbpgitlab.epfl.ch:neuromath/python-template.git
author_email: ''
author_name: Blue Brain Project, EPFL
Expand All @@ -18,8 +18,8 @@ project_url: https://NeuroTS.readthedocs.io
repository_name: NeuroTS
repository_namespace: BlueBrain
repository_provider: github
setup_codeql: false
ssh_url: git@github.com:BlueBrain/NeuroTS.git
support_py37: false
team_name: neuromath
tracker_url: https://github.com/BlueBrain/NeuroTS/issues
use_pyproject_toml: false
Expand Down
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ updates:
directory: "/" # Check the repository's workflows under /.github/workflows/
schedule:
interval: "weekly"
commit-message:
# Prefix all commit messages with "CI(dependabot): "
prefix: "CI(dependabot): "
71 changes: 0 additions & 71 deletions .github/workflows/codeql.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/run-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false
files: ./coverage.xml
directory: ./reports
flags: pytest
name: "NeuroTS-py${{ matrix.python-version }}-${{ matrix.min_versions }}"
- name: Upload test artifacts
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.5
hooks:
- id: codespell
args: ["-x", ".codespellignorelines"]
Expand All @@ -38,6 +38,6 @@ repos:
- id: pydocstyle
additional_dependencies: ["tomli"]
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@
"([bB]reaking: ?)": "",
"([bB]reaking change: ?)": "",
"(^[bB]uild: ?)": "",
"(^[bB]uild\\((.*)\\): ?)": "\\($2\\)",
"(^[bB]uild\\((.*)\\): ?)": "($2) ",
"(^[cC]hore: ?)": "",
"(^[cC]hore\\((.*)\\): ?)": "\\($2\\)",
"(^[cC]hore\\((.*)\\): ?)": "($2) ",
"(^[cC][iI]: ?)": "",
"(^[cC][iI]\\((.*)\\): ?)": "\\($2\\)",
"(^[cC][iI]\\((.*)\\): ?)": "($2) ",
"(^[dD]eprecate: ?)": "",
"(^[dD]eprecate\\((.*)\\): ?)": "\\($2\\)",
"(^[dD]eprecate\\((.*)\\): ?)": "($2) ",
"(^[dD]ocs: ?)": "",
"(^[dD]ocs\\((.*)\\): ?)": "\\($2\\)",
"(^[dD]ocs\\((.*)\\): ?)": "($2) ",
"(^[fF]eat: ?)": "",
"(^[fF]eat\\((.*)\\): ?)": "\\($2\\)",
"(^[fF]eat\\((.*)\\): ?)": "($2) ",
"(^[fF]ix: ?)": "",
"(^[fF]ix\\((.*)\\): ?)": "\\($2\\)",
"(^[fF]ix\\((.*)\\): ?)": "($2) ",
"(^[pP]erf: ?)": "",
"(^[pP]erf\\((.*)\\): ?)": "\\($2\\)",
"(^[pP]erf\\((.*)\\): ?)": "($2) ",
"(^[rR]efactor: ?)": "",
"(^[rR]efactor\\((.*)\\): ?)": "\\($2\\)",
"(^[rR]efactor\\((.*)\\): ?)": "($2) ",
"(^[rR]evert: ?)": "",
"(^[rR]evert\\((.*)\\): ?)": "\\($2\\)",
"(^[rR]evert\\((.*)\\): ?)": "($2) ",
"(^[sS]tyle: ?)": "",
"(^[sS]tyle\\((.*)\\): ?)": "\\($2\\)",
"(^[sS]tyle\\((.*)\\): ?)": "($2) ",
"(^[tT]est: ?)": "",
"(^[tT]est\\((.*)\\): ?)": "\\($2\\)"
"(^[tT]est\\((.*)\\): ?)": "($2) "
}
}
}
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ commands =
[gh-actions]
python =
3.8: py38, lint
3.9: py39, docs, coverage
3.9: py39, docs
3.10: py310, check-packaging
3.11: py311

0 comments on commit d86b378

Please sign in to comment.