Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
9.9k
Code
Issues
995
Pull requests
447
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
codeql
python
ql
test
query-tests
Statements
on
codeql-cli/v2.26.3
User selector
All users
All time
Commit history
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 17, 2026
Fix FP for py/modification-of-locals
owen-mc
committed
dd61dd2
View commit details
Copy full SHA for dd61dd2
View code at this point
Browse repository at this point
Add test for FP for py/modification-of-locals
owen-mc
committed
47c2c9e
View commit details
Copy full SHA for 47c2c9e
View code at this point
Browse repository at this point
Fix FP for py/should-use-with
owen-mc
committed
415857c
View commit details
Copy full SHA for 415857c
View code at this point
Browse repository at this point
Add test for FP for py/should-use-with
owen-mc
committed
d721446
View commit details
Copy full SHA for d721446
View code at this point
Browse repository at this point
Commits on Apr 7, 2026
Python: Also exclude class scope
Show description for e368844
tausbn
committed
e368844
View commit details
Copy full SHA for e368844
View code at this point
Browse repository at this point
Commits on Mar 27, 2026
Python: Port ShouldUseWithStatement.ql
Show description for 47d2463
tausbn
committed
47d2463
View commit details
Copy full SHA for 47d2463
View code at this point
Browse repository at this point
Commits on Feb 11, 2025
Python: Don't prune any `MatchLiteralPattern`s
Show description for 918c05c
tausbn
and
yoff
committed
918c05c
View commit details
Copy full SHA for 918c05c
View code at this point
Browse repository at this point
Commits on Jan 17, 2025
Python: add some more FP tests around match
Paolo Tranquilli
committed
4ab5650
View commit details
Copy full SHA for 4ab5650
View code at this point
Browse repository at this point
Commits on Nov 19, 2024
Python: Update expected test output
Show description for e2530cf
tausbn
and
yoff
committed
e2530cf
View commit details
Copy full SHA for e2530cf
View code at this point
Browse repository at this point
Commits on Nov 7, 2024
Merge branch 'main' into redsun82/python-match-fps
redsun82
authored
147d66b
View commit details
Copy full SHA for 147d66b
View code at this point
Browse repository at this point
Commits on Oct 11, 2024
Python: update test expectations
yoff
committed
bb78c2a
View commit details
Copy full SHA for bb78c2a
View code at this point
Browse repository at this point
Commits on Jun 14, 2024
Python: tests with false positives around `match`
redsun82
committed
daea773
View commit details
Copy full SHA for daea773
View code at this point
Browse repository at this point
Commits on Nov 15, 2023
Python: Delete orphaned `.expected` files
RasmusWL
committed
721bde1
View commit details
Copy full SHA for 721bde1
View code at this point
Browse repository at this point
Commits on Jun 5, 2023
Python: avoid selecting getLocation() in py/unnecessary-delete
nickrolfe
committed
c67a350
View commit details
Copy full SHA for c67a350
View code at this point
Browse repository at this point
Commits on Oct 7, 2022
changes to address reviews
erik-krogh
committed
6fdfd40
View commit details
Copy full SHA for 6fdfd40
View code at this point
Browse repository at this point
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 22, 2022
update expected output of tests
erik-krogh
committed
7e0bd5b
View commit details
Copy full SHA for 7e0bd5b
View code at this point
Browse repository at this point
Commits on May 30, 2022
Python: Fix example TestCase
RasmusWL
committed
420dea0
View commit details
Copy full SHA for 420dea0
View code at this point
Browse repository at this point
Commits on Jan 5, 2022
Python: Extend unreachable statement test
Show description for 5d4db3a
tausbn
authored
5d4db3a
View commit details
Copy full SHA for 5d4db3a
View code at this point
Browse repository at this point
Commits on Sep 13, 2021
Python: Fix `globals() == locals()` FP
RasmusWL
committed
f402475
View commit details
Copy full SHA for f402475
View code at this point
Browse repository at this point
Python: Add `globals() == locals()` test
RasmusWL
committed
69fe2a3
View commit details
Copy full SHA for 69fe2a3
View code at this point
Browse repository at this point
Python: Add some lines in test file
Show description for ba7cdec
RasmusWL
committed
ba7cdec
View commit details
Copy full SHA for ba7cdec
View code at this point
Browse repository at this point
Python: Clean whitespace
RasmusWL
committed
a9694bf
View commit details
Copy full SHA for a9694bf
View code at this point
Browse repository at this point
Commits on Feb 19, 2020
Python: Move subprocess.call so super-class detection works
Show description for e7fdfd3
RasmusWL
committed
e7fdfd3
View commit details
Copy full SHA for e7fdfd3
View code at this point
Browse repository at this point
Python: Modernise Statements/ queries
Show description for 13568b7
RasmusWL
committed
13568b7
View commit details
Copy full SHA for 13568b7
View code at this point
Browse repository at this point
Python: Make py/side-effect-in-assert handle example
Show description for 6e349eb
RasmusWL
committed
6e349eb
View commit details
Copy full SHA for 6e349eb
View code at this point
Browse repository at this point
Python: Update test-file for py/redundant-assignment
Show description for ae8dbd8
RasmusWL
committed
ae8dbd8
View commit details
Copy full SHA for ae8dbd8
View code at this point
Browse repository at this point
Commits on Nov 21, 2019
Python: Fix false positive in `py/non-iterator-in-for-loop`
Show description for 9fda4ab
taus-semmle
committed
9fda4ab
View commit details
Copy full SHA for 9fda4ab
View code at this point
Browse repository at this point
Commits on Oct 29, 2019
Python: Do not report unreachable "catch-all" cases in `elif`-chains.
Show description for 5e62da7
taus-semmle
committed
5e62da7
View commit details
Copy full SHA for 5e62da7
View code at this point
Browse repository at this point
Commits on Oct 2, 2019
Python: Add tests for reachability when using `nonlocal`.
taus-semmle
committed
384013e
View commit details
Copy full SHA for 384013e
View code at this point
Browse repository at this point
Commits on Sep 5, 2019
Python: Modernise the `py/non-iterable-in-for-loop` query.
Show description for d336140
taus-semmle
committed
d336140
View commit details
Copy full SHA for d336140
View code at this point
Browse repository at this point
Commits on Aug 28, 2019
Python: Add test to confirm #1212 is fixed.
markshannon
committed
1c8ce41
View commit details
Copy full SHA for 1c8ce41
View code at this point
Browse repository at this point
Commits on May 29, 2019
Rename files by style guide and change query metadata
alexey
committed
86ec047
View commit details
Copy full SHA for 86ec047
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.