CommencerCommencer gratuitement

Ignoring specific errors

Occasionally you may find that applying the PEP8 guidelines makes your code harder to read, or harder to use.

From the Zen of Python,

Special cases aren't special enough to break the rules.

Although practicality beats purity.

In these practical cases, you will make deliberate decisions to break the rules and filter out these flake8 violations.

Cet exercice fait partie du cours

Developing Python Packages

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice