Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
quantifiedcode
python-anti-patterns
Repository navigation
Code
Issues
23
(23)
Pull requests
9
(9)
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
examples
Breadcrumbs
python-anti-patterns
/
docs
/
correctness
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
examples
Breadcrumbs
python-anti-patterns
/
docs
/
correctness
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
access_to_a_protected_member.rst
access_to_a_protected_member.rst
an_attribute_hides_this_method.rst
an_attribute_hides_this_method.rst
arguments_number_differs_from_method.rst
arguments_number_differs_from_method.rst
assigning_to_function_call_which_does_not_return.rst
assigning_to_function_call_which_does_not_return.rst
assigning_to_function_call_which_only_returns_none.rst
assigning_to_function_call_which_only_returns_none.rst
bad_except_clauses_order.rst
bad_except_clauses_order.rst
bad_first_argument_given_to_super.rst
bad_first_argument_given_to_super.rst
class_has_no_init_method.rst
class_has_no_init_method.rst
class_has_no_member.rst
class_has_no_member.rst
dangerous_default_value_as_argument.rst
dangerous_default_value_as_argument.rst
do_not_assign_a_lambda_expression.rst
do_not_assign_a_lambda_expression.rst
duplicate_argument_name_in_function_definition.rst
duplicate_argument_name_in_function_definition.rst
else_clause_on_loop_without_a_break_statement.rst
else_clause_on_loop_without_a_break_statement.rst
exit_must_accept_three_arguments.rst
exit_must_accept_three_arguments.rst
explicit_return_in_init.rst
explicit_return_in_init.rst
function_keyword_outside_of_function.rst
function_keyword_outside_of_function.rst
future_import_is_not_the_first_statement.rst
future_import_is_not_the_first_statement.rst
implementing_java-style_getters_and_setters.rst
implementing_java-style_getters_and_setters.rst
indentation_contains_mixed_spaces_and_tabs.rst
indentation_contains_mixed_spaces_and_tabs.rst
indentation_contains_tabs.rst
indentation_contains_tabs.rst
index.rst
index.rst
init_method_from_a_non-direct_base_class_is_called.rst
init_method_from_a_non-direct_base_class_is_called.rst
init_method_from_base_class_not_called.rst
init_method_from_base_class_not_called.rst
init_method_is_a_generator.rst
init_method_is_a_generator.rst
invalid_object_in_all.rst
invalid_object_in_all.rst
iter_returns_non-iterator.rst
iter_returns_non-iterator.rst
list_comprehension_redefines_name_from_line_n.rst
list_comprehension_redefines_name_from_line_n.rst
local_variable_name_referenced_before_assignment.rst
local_variable_name_referenced_before_assignment.rst
method_could_be_a_function.rst
method_could_be_a_function.rst
method_has_no_argument.rst
method_has_no_argument.rst
method_is_abstract_in_class_but_is_not_overridden.rst
method_is_abstract_in_class_but_is_not_overridden.rst
missing_argument_to_super.rst
missing_argument_to_super.rst
no_exception_type_specified.rst
no_exception_type_specified.rst
no_name_in_module.rst
no_name_in_module.rst
no_value_passed_for_parameter_in_function_call.rst
no_value_passed_for_parameter_in_function_call.rst
not_using_defaultdict.rst
not_using_defaultdict.rst
not_using_else_in_a_loop.rst
not_using_else_in_a_loop.rst
not_using_explicit_unpacking.rst
not_using_explicit_unpacking.rst
not_using_get_to_return_a_default_value_from_a_dictionary.rst
not_using_get_to_return_a_default_value_from_a_dictionary.rst
not_using_setdefault_to_initialize_a_dictionary.rst
not_using_setdefault_to_initialize_a_dictionary.rst
notimplemented_raised.rst
notimplemented_raised.rst
object_is_not_callable.rst
object_is_not_callable.rst
parameter_passed_as_both_positional_and_keyword_argument.rst
parameter_passed_as_both_positional_and_keyword_argument.rst
passing_unexpected_keyword_argument_in_function_call.rst
passing_unexpected_keyword_argument_in_function_call.rst
raising_or_catching_a_class_which_does_not_inherit_from_baseexception.rst
raising_or_catching_a_class_which_does_not_inherit_from_baseexception.rst
raising_unallowed_type.rst
raising_unallowed_type.rst
redefining_name_from_outer_scope.rst
redefining_name_from_outer_scope.rst
return_with_argument_inside_generator.rst
return_with_argument_inside_generator.rst
too_many_positional_arguments_for_function_call.rst
too_many_positional_arguments_for_function_call.rst
undefined_name.rst
undefined_name.rst
unreachable_code.rst
unreachable_code.rst
unused_argument.rst
unused_argument.rst
using_string_concatenation_instead_of_formatting.rst
using_string_concatenation_instead_of_formatting.rst
View all files
You can’t perform that action at this time.