# SOME DESCRIPTIVE TITLE. # Copyright (C) 2023, DataLab Platform Developers # This file is distributed under the same license as the DataLab package. # FIRST AUTHOR , 2023. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: DataLab \n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.17.0\n" msgid "Coding guidelines" msgstr "Règles de codage" msgid "Generic coding guidelines" msgstr "Règles de codage génériques" msgid "We follow the `PEP 8 `_ coding style." msgstr "Nous suivons le style de codage `PEP 8 `_." msgid "In particular, we are especially strict about the following guidelines:" msgstr "En particulier, nous sommes particulièrement stricts sur les directives suivantes :" msgid "Limit all lines to a maximum of 79 characters." msgstr "Limiter toutes les lignes à un maximum de 79 caractères." msgid "Respect the naming conventions (classes, functions, variables, etc.)." msgstr "Respecter les conventions de nommage (classes, fonctions, variables, etc.)." msgid "Use specific exceptions instead of the generic :class:`Exception`." msgstr "Utiliser des exceptions spécifiques au lieu de :class:`Exception`." msgid "To enforce these guidelines, the following tools are mandatory:" msgstr "Pour faire respecter ces directives, les outils suivants sont obligatoires :" msgid "`ruff `_ for code formatting and static code analysis." msgstr "`ruff `_ pour le formatage du code et l'analyse statique du code." msgid "`pylint `_ for static code analysis." msgstr "`pylint `_ pour l'analyse statique du code." msgid "ruff" msgstr "ruff" msgid "If you are using `Visual Studio Code `_, the project settings will automatically format your code with `ruff` on save (you may also run the task \"Run Ruff\" to run `ruff` on the project)." msgstr "Si vous utilisez `Visual Studio Code `_, les paramètres du projet formateront automatiquement votre code avec `ruff` à l'enregistrement (vous pouvez également exécuter la tâche \"Run Ruff\" pour exécuter `ruff` sur le projet)." msgid "To run `ruff`, run the following command::" msgstr "Pour exécuter `ruff`, exécutez la commande suivante::" msgid "pylint" msgstr "pylint" msgid "To run `pylint`, run the following command::" msgstr "Pour exécuter `pylint`, exécutez la commande suivante::" msgid "If you are using `Visual Studio Code `_ on Windows, you may run the task \"Run Pylint\" to run `pylint` on the project." msgstr "Si vous utilisez `Visual Studio Code `_ sur Windows, vous pouvez exécuter la tâche \"Run Pylint\" pour exécuter `pylint` sur le projet." msgid "A `pylint` rating greater than 9/10 is required to merge a pull request." msgstr "Une note `pylint` supérieure à 9/10 est requise pour fusionner une demande d'extraction." msgid "Specific coding guidelines" msgstr "Règles de codage spécifiques" msgid "In addition to the generic coding guidelines, we have the following specific guidelines:" msgstr "En plus des directives de codage génériques, nous avons les directives spécifiques suivantes :" msgid "Write docstrings for all classes, methods and functions. The docstrings should follow the `Google style `_." msgstr "Écrire des docstrings pour toutes les classes, méthodes et fonctions. Les docstrings doivent suivre le `style Google `_." msgid "Add typing annotations for all functions and methods. The annotations should use the future syntax (``from __future__ import annotations``)" msgstr "Ajouter des annotations de typage pour toutes les fonctions et méthodes. Les annotations doivent utiliser la syntaxe future (``from __future__ import annotations``)" msgid "Try to keep the code as simple as possible. If you have to write a complex piece of code, try to split it into several functions or classes." msgstr "Essayez de garder le code aussi simple que possible. Si vous devez écrire un morceau de code complexe, essayez de le diviser en plusieurs fonctions ou classes." msgid "Add as many comments as possible. The code should be self-explanatory, but it is always useful to add some comments to explain the general idea of the code, or to explain some tricky parts." msgstr "Ajouter autant de commentaires que possible. Le code doit être auto-explicatif, mais il est toujours utile d'ajouter des commentaires pour expliquer l'idée générale du code, ou pour expliquer certaines parties délicates." msgid "Do not use ``from module import *`` statements, even in the ``__init__`` module of a package." msgstr "N'utilisez pas d'instructions ``from module import *``, même dans le module ``__init__`` d'un package." msgid "Avoid using mixins (multiple inheritance) when possible. It is often possible to use composition instead of inheritance." msgstr "Évitez d'utiliser des mixins (héritage multiple) si possible. Il est souvent possible d'utiliser la composition au lieu de l'héritage." msgid "Avoid using ``__getattr__`` and ``__setattr__`` methods. They are often used to implement lazy initialization, but this can be done in a more explicit way." msgstr "Évitez d'utiliser les méthodes ``__getattr__`` et ``__setattr__``. Ils sont souvent utilisés pour implémenter une initialisation paresseuse, mais cela peut être fait de manière plus explicite."