Skip to content

Commit 555ecbe

Browse files
authored
Merge pull request #1 from dataforgoodfr/fine_tune_empty
Mini correction template
2 parents 20f8fc0 + 414d449 commit 555ecbe

File tree

7 files changed

+818
-813
lines changed

7 files changed

+818
-813
lines changed

.github/workflows/d4g-utils.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'd4g-utils/**' # Trigger the workflow only when changes are made in the d4g-utils directory
77
branches:
88
- main
9-
9+
1010
# Allows you to run this workflow manually from the Actions tab
1111
workflow_dispatch:
1212

@@ -31,7 +31,7 @@ jobs:
3131
3232
# Fetch repositories from the organization
3333
repos=`gh repo list $ORG_NAME --limit 500 | awk ' {print $1}'`
34-
34+
3535
echo "::set-output name=repos::$repos"
3636
env:
3737
GH_TOKEN: ${{ secrets.D4GTECH_TOKEN }}
@@ -49,20 +49,20 @@ jobs:
4949
done
5050
env:
5151
GH_TOKEN: ${{ secrets.D4GTECH_TOKEN }}
52-
53-
52+
53+
5454
# for repo in ${{ steps.org_repos.outputs.repos }}; do
5555
# # Clone the repository
5656
# git clone "https://github.com/$repo" target_repo
57-
57+
5858
# # Copy all files from d4g-utils to target repository d4g-utlis
5959
# rsync -av --exclude='.git' d4g-utils/ target_repo/d4g-utils
60-
60+
6161
# # Commit and push changes
6262
# cd target_repo
6363
# git add .
6464
# git commit -m "Copy files from d4g-utils directory"
6565
# git push origin main
66-
66+
6767
# cd ..
6868
# done

.pre-commit-config.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
repos:
22
- repo: https://github.com/charliermarsh/ruff-pre-commit
33
# Ruff version.
4-
rev: "v0.2.1"
4+
rev: "v0.14.10"
55
hooks:
66
- id: ruff
77
args: [--fix]
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.3.0
9+
rev: v6.0.0
1010
hooks:
1111
- id: check-merge-conflict
1212
- id: mixed-line-ending
13+
- id: trailing-whitespace
14+
- id: no-commit-to-branch
15+
description: Prevent commits on main
16+
args: ['--branch', 'main']
17+

d4g-utils/install_poetry.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ if command_exists poetry && poetry --version &> /dev/null; then
1010
echo "Poetry is already installed. Version: $(poetry --version)"
1111
else
1212
echo "Poetry is not installed. Installing now..."
13-
13+
1414
# Install Poetry
1515
curl -sSL https://install.python-poetry.org | python3 -
16-
16+
1717
# Add poetry to PATH
1818
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
1919
source ~/.bashrc

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "13_pollution_eau"
2+
name = "14_Biolit"
33
version = "0.1.0"
44
description = "Add your description here"
55
readme = "README.md"

python_template/.empty

Whitespace-only changes.

uv.lock

Lines changed: 801 additions & 801 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)