File: err_115.txt

package info (click to toggle)
python-refurb 1.27.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,700 kB
  • sloc: python: 9,468; makefile: 40; sh: 6
file content (38 lines) | stat: -rw-r--r-- 2,620 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
30
31
32
33
34
35
36
37
38
test/data/err_115.py:11:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:12:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:13:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:14:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:15:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:16:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:18:4 [FURB115]: Replace `len(x) <= 0` with `not x`
test/data/err_115.py:19:4 [FURB115]: Replace `len(x) > 0` with `x`
test/data/err_115.py:20:4 [FURB115]: Replace `len(x) != 0` with `x`
test/data/err_115.py:21:4 [FURB115]: Replace `len(x) >= 1` with `x`
test/data/err_115.py:23:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:24:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:25:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:26:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:27:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:28:4 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:30:13 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:33:15 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:36:23 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:37:23 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:38:28 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:40:10 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:42:7 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:45:8 [FURB115]: Replace `len(x) == 0` with `not x`
test/data/err_115.py:50:4 [FURB115]: Replace `len(x)` with `x`
test/data/err_115.py:53:15 [FURB115]: Replace `len(x)` with `x`
test/data/err_115.py:56:23 [FURB115]: Replace `len(x)` with `x`
test/data/err_115.py:57:23 [FURB115]: Replace `len(x)` with `x`
test/data/err_115.py:58:28 [FURB115]: Replace `len(x)` with `x`
test/data/err_115.py:60:10 [FURB115]: Replace `len(x)` with `x`
test/data/err_115.py:62:7 [FURB115]: Replace `len(x)` with `x`
test/data/err_115.py:65:8 [FURB115]: Replace `len(x)` with `x`
test/data/err_115.py:67:8 [FURB115]: Replace `x == []` with `not x`
test/data/err_115.py:68:8 [FURB115]: Replace `x != []` with `x`
test/data/err_115.py:70:8 [FURB115]: Replace `x == {}` with `not x`
test/data/err_115.py:71:8 [FURB115]: Replace `x != {}` with `x`
test/data/err_115.py:73:8 [FURB115]: Replace `len(x)` with `x`
test/data/err_115.py:74:8 [FURB115]: Replace `len(x)` with `x`