ruff/crates/ruff_linter/resources/test/fixtures/pep8_naming/N801.py
Vasco Schiavo 81059d05fc
[pep8-naming] Consider any number of leading underscore for N801 (#15988)
## Summary

The PR addresses the issue #15939 

Let me know if you think there are other test cases I should add ;-)
2025-02-06 14:08:27 +05:30

43 lines
No EOL
304 B
Python

class bad:
pass
class _bad:
pass
class __bad:
pass
class bad_class:
pass
class Bad_Class:
pass
class Bad__Class:
pass
class BAD_CLASS:
pass
class Good:
pass
class _Good:
pass
class GoodClass:
pass
class GOOD:
pass
class __GoodClass:
pass