Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
O
oacc_overview_cdc
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse du dépôt
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Ce projet est archivé. Le dépôt et les autres ressources du projet sont en lecture seule.
Afficher davantage de fils d'Ariane
Le Filament
Opération Auto-Consommation Collective
oacc_overview_cdc
Validations
6e4ff2e6
Valider
6e4ff2e6
rédigé
Il y a 1 an
par
Rémi - Le Filament
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
[REF] add PRM periods
parent
acf0077b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
3
Tout étendre
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
3 fichiers modifiés
.pre-commit-config.yaml
+28
-39
28 ajouts, 39 suppressions
.pre-commit-config.yaml
models/acc_operation.py
+198
-214
198 ajouts, 214 suppressions
models/acc_operation.py
views/acc_operation_views.xml
+1
-1
1 ajout, 1 suppression
views/acc_operation_views.xml
avec
227 ajouts
et
254 suppressions
.pre-commit-config.yaml
+
28
−
39
Voir le fichier @
6e4ff2e6
...
...
@@ -12,11 +12,15 @@ exclude: |
/static/(src/)?lib/|
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
# Don't bother non-technical authors with formatting issues in docs
readme/.*\.(rst|md)$|
# Ignore build and dist directories in addons
/build/|/dist/|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version
:
python
:
python3
node
:
"
1
4
.1
3
.0"
node
:
"
1
6
.1
7
.0"
repos
:
-
repo
:
local
hooks
:
...
...
@@ -33,40 +37,38 @@ repos:
language
:
fail
files
:
'
[a-zA-Z0-9_]*/i18n/en\.po$'
-
repo
:
https://github.com/oca/maintainer-tools
rev
:
ab1d7f6
rev
:
f71041f22b8cd68cf7c77b73a14ca8d8cd190a60
hooks
:
# update the NOT INSTALLABLE ADDONS section above
-
id
:
oca-update-pre-commit-excluded-addons
-
id
:
oca-fix-manifest-website
args
:
[
"
https://le-filament.com"
]
-
repo
:
https://github.com/myint/autoflake
rev
:
v1.4
hooks
:
-
id
:
autoflake
-
id
:
oca-gen-addon-readme
args
:
-
--
expand-star-imports
-
--
ignore-init-module-imports
-
--
in-place
-
--re
move-all-unused-imports
-
--
remove-duplicate-keys
-
--
remove-unused-variabl
es
-
repo
:
https://github.com/
psf/black
rev
:
22.3.0
-
--
addons-dir=.
-
--
branch=16.0
-
--
org-name=lefilament
-
--re
po-name=template_module
-
--
if-source-changed
-
--
keep-source-dig
es
t
-
repo
:
https://github.com/
OCA/odoo-pre-commit-hooks
rev
:
v0.0.25
hooks
:
-
id
:
black
-
id
:
oca-checks-odoo-module
-
id
:
oca-checks-po
-
repo
:
https://github.com/pre-commit/mirrors-prettier
rev
:
v2.
1.2
rev
:
v2.
7.1
hooks
:
-
id
:
prettier
name
:
prettier (with plugin-xml)
additional_dependencies
:
-
"
prettier@2.
1.2
"
-
"
@prettier/plugin-xml@
0.1
2.0"
-
"
prettier@2.
7.1
"
-
"
@prettier/plugin-xml@
2.
2.0"
args
:
-
--plugin=@prettier/plugin-xml
files
:
\.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
-
repo
:
https://github.com/pre-commit/mirrors-eslint
rev
:
v
7.8.1
rev
:
v
8.24.0
hooks
:
-
id
:
eslint
verbose
:
true
...
...
@@ -74,7 +76,7 @@ repos:
-
--color
-
--fix
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v
3.2
.0
rev
:
v
4.3
.0
hooks
:
-
id
:
trailing-whitespace
# exclude autogenerated files
...
...
@@ -95,27 +97,14 @@ repos:
-
id
:
check-xml
-
id
:
mixed-line-ending
args
:
[
"
--fix=lf"
]
-
repo
:
https://github.com/asottile/pyupgrade
rev
:
v2.7.2
hooks
:
-
id
:
pyupgrade
args
:
[
"
--keep-percent-format"
]
-
repo
:
https://github.com/PyCQA/isort
rev
:
5.12.0
hooks
:
-
id
:
isort
name
:
isort except __init__.py
args
:
-
--settings=.
exclude
:
/__init__\.py$
-
repo
:
https://github.com/PyCQA/flake8
rev
:
3.8.3
-
repo
:
https://github.com/astral-sh/ruff-pre-commit
rev
:
v0.1.3
hooks
:
-
id
:
flake8
name
:
flake8
additional_dependencies
:
[
"
flake8-bugbear==20.1.4"
]
-
id
:
ruff
args
:
[
--fix
,
--exit-non-zero-on-fix
]
-
id
:
ruff-format
-
repo
:
https://github.com/OCA/pylint-odoo
rev
:
7
.0.
2
rev
:
v8
.0.
19
hooks
:
-
id
:
pylint_odoo
name
:
pylint with optional checks
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
models/acc_operation.py
+
198
−
214
Voir le fichier @
6e4ff2e6
Ce diff est replié.
Cliquez pour l'agrandir.
views/acc_operation_views.xml
+
1
−
1
Voir le fichier @
6e4ff2e6
...
...
@@ -11,7 +11,7 @@
string=
"Voir les courbes"
type=
"object"
class=
"btn-primary"
name=
"action_view_c
o
ur
b
es"
name=
"action_view_cur
v
es"
/>
</header>
</field>
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter