ruff/crates/ruff_linter/resources/test/fixtures/flake8_builtins/A001.py
2023-09-20 08:38:27 +02:00

30 lines
409 B
Python

import some as sum
from some import other as int
from directory import new as dir
print = 1
copyright: 'annotation' = 2
(complex := 3)
float = object = 4
min, max = 5, 6
id = 4
def bytes():
pass
class slice:
pass
try:
...
except ImportError as ValueError:
...
for memoryview, *bytearray in []:
pass
with open('file') as str, open('file2') as (all, any):
pass
[0 for sum in ()]