| 1 |
""" Non ASCII char in class name |
| 2 |
|
| 3 |
Note that the end line parameter here seems to be off. |
| 4 |
We would expect it to be the same as the start, as we only refer |
| 5 |
to the class Name and not the complete class definition. |
| 6 |
But this is not possible atm with pylint. |
| 7 |
""" |
| 8 |
# pylint: disable=too-few-public-methods |
| 9 |
|
| 10 |
|
| 11 |
class НoldIt: # [non-ascii-name] |
| 12 |
"""Nice class.""" |
| 13 |
|
| 14 |
def public(self): |
| 15 |
"""do something""" |
| 16 |
print(self) |
| 17 |
|
| 18 |
|
| 19 |
def main(): |
| 20 |
"""Main function""" |
| 21 |
# Usage should not raise a second error |
| 22 |
foobar = НoldIt() |
| 23 |
print(foobar) |