Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: flake8-mutable
2 Maintainer: Debian Python Team <[email protected]>
3 Uploaders:
4 Edward Betts <[email protected]>,
5 Section: python
6 Priority: optional
7 Build-Depends:
8 debhelper-compat (= 13),
9 dh-sequence-python3,
10 python3-all,
11 python3-pytest-runner,
12 python3-setuptools,
13 Build-Depends-Indep:
14 python3-pytest <!nocheck>,
15 Standards-Version: 4.7.2
16 Homepage: https://github.com/ebeweber/flake8-mutable
17 Vcs-Browser: https://salsa.debian.org/python-team/packages/flake8-mutable
18 Vcs-Git: https://salsa.debian.org/python-team/packages/flake8-mutable.git
19 Testsuite: autopkgtest-pkg-pybuild
20
21 Package: python3-flake8-mutable
22 Architecture: all
23 Depends:
24 ${misc:Depends},
25 ${python3:Depends},
26 Description: use flake8 to catch functions with mutable default arguments
27 Python's default arguments are evaluated at definition as opposed to when the
28 function is invoked. This leads to unexpected behavior, as mutations persist
29 between calls. This flake8 extension will warn for this type of mistake.