File: control

package info (click to toggle)
flake8-mutable 1.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104 kB
  • sloc: python: 163; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Source: flake8-mutable
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders:
 Edward Betts <edward@4angle.com>,
Section: python
Priority: optional
Build-Depends:
 debhelper-compat (= 13),
 dh-sequence-python3,
 python3-all,
 python3-pytest-runner,
 python3-setuptools,
Build-Depends-Indep:
 python3-pytest <!nocheck>,
Standards-Version: 4.7.2
Homepage: https://github.com/ebeweber/flake8-mutable
Vcs-Browser: https://salsa.debian.org/python-team/packages/flake8-mutable
Vcs-Git: https://salsa.debian.org/python-team/packages/flake8-mutable.git
Testsuite: autopkgtest-pkg-pybuild

Package: python3-flake8-mutable
Architecture: all
Depends:
 ${misc:Depends},
 ${python3:Depends},
Description: 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.