summaryrefslogtreecommitdiff
path: root/tests/functional/n/non_ascii_name/non_ascii_name_pos_and_kwonly_function.py
blob: 651d78f894a1efeeb55b34c4692cd34d55260420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"""
Test for names within keyword and position only function

This test is 3.8+ as the columns are not correctly identified
by the ast parser < 3.8
"""
# pylint: disable=unused-argument


def name(
    some_thing_long_but_okay,
    not_okay_łol,  # [non-ascii-name]
    not_okay_defaułt=None,  # [non-ascii-name]
    /,
    p_or_kw_okay=None,
    p_or_kw_not_økay=None,  # [non-ascii-name]
    *,
    kw_arg_okay,
    kw_arg_not_økay,  # [non-ascii-name]
):
    """
    Do something!
    """
    return "Foobar"