Skip to content

Commit 83c590d

Browse files
committed
Fix merge conflicts
2 parents af6f53b + df96ae2 commit 83c590d

14 files changed

Lines changed: 47 additions & 84 deletions

File tree

.github/workflows/cffconvert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out a copy of the repository
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Check whether the citation metadata from CITATION.cff is valid
1717
uses: citation-file-format/cffconvert-github-action@2.0.0

.github/workflows/markdown-link-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
name: Check markdown links
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1919
with:
20+
use-quiet-mode: 'yes'
2021
config-file: '.mlc-config.json'

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
1919
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v3
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Python info

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* Regenerated docs/conf.py with sphinx-quickstart v3.5.4 + enabled built-in extensions [#44](https://github.com/NLeSC/python-template/issues/44)
2929
* Generate api rst files with extension instead of custom function [#95](https://github.com/NLeSC/python-template/issues/95)
3030
* Change from bump2version (unmaintained) to bump-my-version.
31+
* Set markdown link checker to quiet mode: only report broken links [#262](https://github.com/NLeSC/python-template/issues/262)
3132

3233
### Removed
3334

template/.githooks/pre-commit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ echo "Script $0 triggered ..."
66
echo "Starting ruff analysis..."
77

88
# quietly run ruff
9-
ruff . --fix
9+
ruff check --fix
10+
ruff format
1011

1112
# use return code to abort commit if necessary
1213
if [ $? != "0" ]; then

template/.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
2020
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ '{{ ' -}} matrix.python-version }}
24-
uses: actions/setup-python@v3
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ '{{ ' -}} matrix.python-version }}
2727
- name: Python info
@@ -44,9 +44,9 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
steps:
47-
- uses: actions/checkout@v3
47+
- uses: actions/checkout@v4
4848
- name: Set up Python 3.9
49-
uses: actions/setup-python@v3
49+
uses: actions/setup-python@v5
5050
with:
5151
python-version: 3.9
5252
- name: Python info
@@ -59,4 +59,6 @@ jobs:
5959
python -m pip install --upgrade pip setuptools
6060
python -m pip install .[dev,publishing]
6161
- name: Check style against standards using ruff
62-
run: ruff .
62+
run: |
63+
ruff check
64+
ruff format --check

template/.github/workflows/cffconvert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: "cffconvert"
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
name: Check out a copy of the repository
1919

2020
- name: Check whether the citation metadata from CITATION.cff is valid

template/.github/workflows/documentation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Set up Python 3.9
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: 3.9
2323
- name: Python info
@@ -33,4 +33,4 @@ jobs:
3333
run: sudo apt install pandoc
3434
- name: Build documentation
3535
run: make coverage doctest html
36-
working-directory: docs
36+
working-directory: docs

template/.github/workflows/markdown-link-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
name: Check markdown links
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1919
with:
20+
use-quiet-mode: 'yes'
2021
config-file: '.mlc-config.json'

template/.github/workflows/next_steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
next_steps:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
- name: Create Sonarcloud integration issue
1212
uses: JasonEtco/create-an-issue@v2
1313
env:

0 commit comments

Comments
 (0)