Skip to content
Sections
>> Trisquel >> Pakete >> ecne (12.0LTS) >> python >> python3-flake8-mutable
[  ecne  ] [  xolotl  ]
[ Quellcode: flake8-mutable  ]

Paket: python3-flake8-mutable (1.2.0-2)

use flake8 to catch functions with mutable default arguments

Python's default arguments are evaluated at definition as opposed to when the function is invoked. This leads to unexpected behavior, as mutations persist between calls. This flake8 extension will warn for this type of mistake.

Andere Pakete mit Bezug zu python3-flake8-mutable

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-flake8
    code checker using pycodestyle and pyflakes - Python 3.x

python3-flake8-mutable herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 4,1 kB23 kB [Liste der Dateien]