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
/
readability
/
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
/
readability
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
asking_for_permission_instead_of_forgiveness_when_working_with_files.rst
asking_for_permission_instead_of_forgiveness_when_working_with_files.rst
comparison_to_none.rst
comparison_to_none.rst
comparison_to_true.rst
comparison_to_true.rst
do_not_compare_types_use_isinstance.rst
do_not_compare_types_use_isinstance.rst
incomplete_docstring.rst
incomplete_docstring.rst
index.rst
index.rst
invalid_name.rst
invalid_name.rst
lambda_may_not_be_necessary.rst
lambda_may_not_be_necessary.rst
not_using_a_dict_comprehension.rst
not_using_a_dict_comprehension.rst
not_using_items_to_iterate_over_a_dictionary.rst
not_using_items_to_iterate_over_a_dictionary.rst
not_using_named_tuples_when_returning_more_than_one_value.rst
not_using_named_tuples_when_returning_more_than_one_value.rst
not_using_unpacking_for_updating_multiple_values_at_once.rst
not_using_unpacking_for_updating_multiple_values_at_once.rst
not_using_zip_to_iterate_over_a_pair_of_lists.rst
not_using_zip_to_iterate_over_a_pair_of_lists.rst
putting_type_information_in_a_variable_name.rst
putting_type_information_in_a_variable_name.rst
test_for_membership_should_be_not_in.rst
test_for_membership_should_be_not_in.rst
test_for_object_identity_should_be_is_not.rst
test_for_object_identity_should_be_is_not.rst
unnecessary_parens_after_keyword.rst
unnecessary_parens_after_keyword.rst
unnecessary_pass_statement.rst
unnecessary_pass_statement.rst
use_new_raise_syntax.rst
use_new_raise_syntax.rst
using_an_unpythonic_loop.rst
using_an_unpythonic_loop.rst
using_map_or_filter_where_list_comprehension_is_possible.rst
using_map_or_filter_where_list_comprehension_is_possible.rst
View all files
You can’t perform that action at this time.