Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
InSillyClo-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
InSillyClo
InSillyClo-web
Commits
d12cc8ed
Commit
d12cc8ed
authored
1 month ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
add pre-commit config
parent
d049c83e
No related branches found
No related tags found
1 merge request
!12
add pre-commit config
Pipeline
#154920
passed
1 month ago
Stage: build
Stage: test
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.pre-commit-config.yaml
+8
-0
8 additions, 0 deletions
.pre-commit-config.yaml
README.md
+9
-1
9 additions, 1 deletion
README.md
requirements-dev.txt
+1
-0
1 addition, 0 deletions
requirements-dev.txt
with
18 additions
and
1 deletion
.pre-commit-config.yaml
0 → 100644
+
8
−
0
View file @
d12cc8ed
repos
:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
-
repo
:
https://github.com/psf/black-pre-commit-mirror
rev
:
24.10.0
hooks
:
-
id
:
black
args
:
[
--config=./pyproject.toml
]
language_version
:
python3.10
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
9
−
1
View file @
d12cc8ed
# InSillyClo
*
dev https://insillyclo-main.dev.pasteur.cloud/
*
prod https://insillyclo-main.pasteur.cloud/
\ No newline at end of file
*
prod https://insillyclo-main.pasteur.cloud/
# Contributing
Install Black to format sources, use pre-commit to prevent unformatted commit (which will be rejected by ci anyway)
```
shell
pip
install
-r
requirements-dev.txt
pre-commit
install
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
requirements-dev.txt
+
1
−
0
View file @
d12cc8ed
black~=24.10.0
pre-commit
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment