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 }}
github
codeql
Repository navigation
Code
Issues
1k
(1k)
Pull requests
521
(521)
Discussions
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
codeql
python
ql
test
query-tests
Imports
on
unified/modified-expr
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 26, 2026
Python: Split up `except Alpha, Beta:` case across language versions
Show description for b4e561a
tausbn
committed
b4e561a
View commit details
Copy full SHA for b4e561a
View code at this point
Browse repository at this point
Commits on Aug 20, 2026
Python: add query tests for unparenthesized except chains of every length
Show description for 896d8d7
aausch
and
claude
committed
896d8d7
View commit details
Copy full SHA for 896d8d7
View code at this point
Browse repository at this point
Commits on Jun 19, 2026
Undo conversion for queries that import LegacyPointsTo
owen-mc
committed
451fc2e
View commit details
Copy full SHA for 451fc2e
View code at this point
Browse repository at this point
Convert Python qlref tests to inline expectations
owen-mc
committed
5497f2c
View commit details
Copy full SHA for 5497f2c
View code at this point
Browse repository at this point
Commits on Jun 14, 2024
Python: Handle `@pytest.fixture` decorations with arguments as well
Show description for b7b0f84
tausbn
committed
b7b0f84
View commit details
Copy full SHA for b7b0f84
View code at this point
Browse repository at this point
Python: update unused import test case for pytest
redsun82
committed
1046d03
View commit details
Copy full SHA for 1046d03
View code at this point
Browse repository at this point
Python: Also test pytest fixture factories
tausbn
committed
2f00a0d
View commit details
Copy full SHA for 2f00a0d
View code at this point
Browse repository at this point
Python: Fix pytest fixture unused import FPs
tausbn
committed
7872918
View commit details
Copy full SHA for 7872918
View code at this point
Browse repository at this point
Python: Add tests for pytest fixture unused import FPs
tausbn
committed
f3a9c9a
View commit details
Copy full SHA for f3a9c9a
View code at this point
Browse repository at this point
Commits on Oct 7, 2022
fix some more style-guide violations in the alert-messages
erik-krogh
committed
944ca4a
View commit details
Copy full SHA for 944ca4a
View code at this point
Browse repository at this point
Commits on Aug 13, 2020
Python: Ignore `from foo import *` when `foo` is absent.
tausbn
committed
a1a1218
View commit details
Copy full SHA for a1a1218
View code at this point
Browse repository at this point
Python: Add test case for missing modules
tausbn
committed
dc5c0f8
View commit details
Copy full SHA for dc5c0f8
View code at this point
Browse repository at this point
Commits on Apr 7, 2020
Python: Fix FN in py/unused-import
RasmusWL
committed
75e6470
View commit details
Copy full SHA for 75e6470
View code at this point
Browse repository at this point
Python: Add FN for py/unused-import
RasmusWL
committed
1077ce3
View commit details
Copy full SHA for 1077ce3
View code at this point
Browse repository at this point
Commits on Mar 12, 2020
Python: Make two tests not depend on minor Python version.
Show description for 3d0ee90
tausbn
committed
3d0ee90
View commit details
Copy full SHA for 3d0ee90
View code at this point
Browse repository at this point
Commits on Feb 17, 2020
Merge pull request #2711 from RasmusWL/python-fix-import-deprecated-module
Show description for 03ae783
tausbn
authored
03ae783
View commit details
Copy full SHA for 03ae783
View code at this point
Browse repository at this point
Commits on Feb 11, 2020
Python: In py/import-own-module handle `from foo import *`
RasmusWL
committed
1f76284
View commit details
Copy full SHA for 1f76284
View code at this point
Browse repository at this point
Python: Fix FPs for py/import-own-module
Show description for 5cc2efe
RasmusWL
committed
5cc2efe
View commit details
Copy full SHA for 5cc2efe
View code at this point
Browse repository at this point
Python: Update tests for py/import-own-module
Show description for f3f9e34
RasmusWL
committed
f3f9e34
View commit details
Copy full SHA for f3f9e34
View code at this point
Browse repository at this point
Commits on Feb 10, 2020
Python: Add testcases for py/import-own-module
Show description for 2bffbf0
RasmusWL
committed
2bffbf0
View commit details
Copy full SHA for 2bffbf0
View code at this point
Browse repository at this point
Commits on Jan 28, 2020
Python: Fix recommended module for deprecated posixfile
Show description for 4ca72de
RasmusWL
committed
4ca72de
View commit details
Copy full SHA for 4ca72de
View code at this point
Browse repository at this point
Python: py/import-deprecated-module handle backwards compatible code
RasmusWL
committed
6c7cddf
View commit details
Copy full SHA for 6c7cddf
View code at this point
Browse repository at this point
Python: Stop py/import-deprecated-module from double alerting
Show description for e92d6c0
RasmusWL
committed
e92d6c0
View commit details
Copy full SHA for e92d6c0
View code at this point
Browse repository at this point
Python: Add tests for py/import-deprecated-module
RasmusWL
committed
1942288
View commit details
Copy full SHA for 1942288
View code at this point
Browse repository at this point
Commits on Nov 27, 2019
Merge pull request #2431 from tausbn/python-cyclic-import-future-annotations
Show description for 3e5e14a
RasmusWL
authored
3e5e14a
View commit details
Copy full SHA for 3e5e14a
View code at this point
Browse repository at this point
Commits on Nov 25, 2019
Python: Account for non-evaluation of annotations in cyclic imports.
Show description for 036e0f7
taus-semmle
committed
036e0f7
View commit details
Copy full SHA for 036e0f7
View code at this point
Browse repository at this point
Commits on Nov 21, 2019
Python: Support forward references inside return type annotations.
Show description for 033524c
taus-semmle
committed
033524c
View commit details
Copy full SHA for 033524c
View code at this point
Browse repository at this point
Commits on Nov 4, 2019
Merge pull request #2042 from tausbn/python-fix-unused-import-fps
Show description for ca22ec6
RasmusWL
authored
ca22ec6
View commit details
Copy full SHA for ca22ec6
View code at this point
Browse repository at this point
Commits on Oct 22, 2019
Python: Add discussed test case (a false negative).
taus-semmle
committed
32de65c
View commit details
Copy full SHA for 32de65c
View code at this point
Browse repository at this point
Python: Move false positive (now a true negative) into subfolder.
taus-semmle
committed
83bf54c
View commit details
Copy full SHA for 83bf54c
View code at this point
Browse repository at this point
Commits on Oct 18, 2019
Python: Add false positive test case for cyclic import.
taus-semmle
committed
70d9d1b
View commit details
Copy full SHA for 70d9d1b
View code at this point
Browse repository at this point
Commits on Sep 27, 2019
Python: Fix false positive for cyclic imports guarded by `if False:`.
taus-semmle
committed
aa16d20
View commit details
Copy full SHA for aa16d20
View code at this point
Browse repository at this point
Python: Remove a few false positives from `py/unused-import`.
taus-semmle
committed
25985e9
View commit details
Copy full SHA for 25985e9
View code at this point
Browse repository at this point
Commits on Jan 22, 2019
Python: Fix 'unused import' to no longer give alerts for imported modules used in typehints.
markshannon
committed
547b3eb
View commit details
Copy full SHA for 547b3eb
View code at this point
Browse repository at this point
Commits on Jan 18, 2019
Python: Fix 'unused import' to no longer give alerts for imported modules used in doctests.
markshannon
committed
9f93bf8
View commit details
Copy full SHA for 9f93bf8
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.