Skip to content

Commit

Permalink
Chore: Apply Copier template (#13)
Browse files Browse the repository at this point in the history
[skip-changelog]
  • Loading branch information
adrien-berchet authored Sep 12, 2023
1 parent 860a591 commit b349352
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 21 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/emodel-generalisation/commit/{id}",
"issueUrl": "https://github.com/BlueBrain/emodel-generalisation/issues/{id}",
"mergeUrl": "https://github.com/BlueBrain/emodel-generalisation/pull/{id}",
Expand Down
7 changes: 5 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# 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: bbp-ou-cells@groupes.epfl.ch
author_name: Blue Brain Project, EPFL
copyright_license: GNU General Public License v3.0
copyright_year: '2023'
Expand All @@ -16,7 +17,9 @@ project_url: https://emodel-generalisation.readthedocs.io
repository_name: emodel-generalisation
repository_namespace: BlueBrain
repository_provider: github
support_py37: false
setup_codeql: false
ssh_url: git@github.com:BlueBrain/emodel-generalisation.git
team_name: neuromath
tracker_url: https://github.com/BlueBrain/emodel-generalisation/issues
use_pyproject_toml: false
version: 0.1.0.dev0
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): "
6 changes: 3 additions & 3 deletions .github/workflows/run-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ jobs:
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false
files: ./coverage.xml
directory: ./reports
flags: pytest
name: "emodel-generalisation-py${{ matrix.python-version }}"
name: "emodel-generalisation-py${{ matrix.python-version }}-${{ matrix.min_versions }}"
- name: Upload test artifacts
uses: actions/upload-artifact@v3
if: always()
with:
name: tests-${{ matrix.python-version }}
name: tests-${{ matrix.python-version }}-${{ matrix.min_versions }}
retention-days: 4
path: |
.tox/py*/tmp
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
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
comment:
layout: "diff, flags, files"
behavior: default
require_changes: true
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) "
}
}
}

0 comments on commit b349352

Please sign in to comment.