mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
14 lines
198 B
Python
14 lines
198 B
Python
def func(pos, password):
|
|
pass
|
|
|
|
|
|
string = "Hello World"
|
|
|
|
# OK
|
|
func("s3cr3t")
|
|
func(1, password=string)
|
|
func(1, password="")
|
|
func(pos="s3cr3t", password=string)
|
|
|
|
# Error
|
|
func(1, password="s3cr3t")
|