Configuring flake8
In the top-level __init__.py
file of the impyrial
package folder, you imported the length
and weight
subpackages to expose them to users. However, these imports aren't used, so flake8
will keep notifying you about them.
You also might have some style violations in your tests directory, which you would like to ignore.
In this exercise, you will configure flake8
to ignore these violations.
Cet exercice fait partie du cours
Developing Python Packages
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
