Sitelet
https://github.com/chenkaigithub/codeql/commits/master/python/ql/src/Statements
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 }}
chenkaigithub
codeql
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
codeql
python
ql
src
Statements
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 7, 2020
Python: supress non-useful results (w/ tests) for iter str/seq query
Show description for befe73d
RasmusWL
committed
befe73d
View commit details
Copy full SHA for befe73d
View code at this point
Browse repository at this point
Python: Consistenly use TestScope instead of Test
Show description for 46ecbef
RasmusWL
committed
46ecbef
View commit details
Copy full SHA for 46ecbef
View code at this point
Browse repository at this point
Commits on Mar 30, 2020
Python: Autoformat all `.ql` files.
tausbn
committed
87a9f51
View commit details
Copy full SHA for 87a9f51
View code at this point
Browse repository at this point
Commits on Mar 10, 2020
Python: Rewrite helper predicate has_string_type
RasmusWL
committed
2382b42
View commit details
Copy full SHA for 2382b42
View code at this point
Browse repository at this point
Commits on Mar 9, 2020
Python: Resolve autoformat ugliness
RasmusWL
committed
a9674ef
View commit details
Copy full SHA for a9674ef
View code at this point
Browse repository at this point
Commits on Feb 19, 2020
Python: Fix error after merge conflict
RasmusWL
committed
4f3149d
View commit details
Copy full SHA for 4f3149d
View code at this point
Browse repository at this point
Python: Fix modernisation of py/iteration-string-and-sequence
Show description for d7b803a
RasmusWL
committed
d7b803a
View commit details
Copy full SHA for d7b803a
View code at this point
Browse repository at this point
Python: Add ModuleValue.{isUsedAsModule, isUsedAsScript}
Show description for 3e7e963
RasmusWL
committed
3e7e963
View commit details
Copy full SHA for 3e7e963
View code at this point
Browse repository at this point
Python: Modernise Statements/RedundantAssignment
RasmusWL
committed
b4ab0b5
View commit details
Copy full SHA for b4ab0b5
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: Update py/ineffectual-statement
Show description for 83d40f1
RasmusWL
committed
83d40f1
View commit details
Copy full SHA for 83d40f1
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: Autoformat statements
RasmusWL
committed
3816688
View commit details
Copy full SHA for 3816688
View code at this point
Browse repository at this point
Commits on Jan 22, 2020
Python: Remove use of deprecated methods
RasmusWL
committed
96d5703
View commit details
Copy full SHA for 96d5703
View code at this point
Browse repository at this point
Commits on Dec 11, 2019
Python: Fix bad join order in `py/ineffectual-statement`.
Show description for d5cc42e
tausbn
committed
d5cc42e
View commit details
Copy full SHA for d5cc42e
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 21, 2019
Python: Teach `py/unreachable-statement` about `contextlib.suppress`.
taus-semmle
committed
99b99ef
View commit details
Copy full SHA for 99b99ef
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 May 29, 2019
Improve query help
alexey
committed
9377638
View commit details
Copy full SHA for 9377638
View code at this point
Browse repository at this point
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
Edit query metadata and help and add new entry to the change-notes 1.21
alexey
committed
96380f6
View commit details
Copy full SHA for 96380f6
View code at this point
Browse repository at this point
Commits on May 22, 2019
add return-or-yield-outside-of-function Python query
alexey
committed
e214174
View commit details
Copy full SHA for e214174
View code at this point
Browse repository at this point
Commits on Mar 13, 2019
Python: Don't report Python 2 print statements as having no effect.
markshannon
committed
e9a4526
View commit details
Copy full SHA for e9a4526
View code at this point
Browse repository at this point
Commits on Feb 20, 2019
Python: Add 'attr' predicate as a synomnym for 'getAttribute' to help readability.
markshannon
committed
98be27a
View commit details
Copy full SHA for 98be27a
View code at this point
Browse repository at this point
Python move various theXXX() predicates into the appropriate module.
markshannon
committed
35fa5d8
View commit details
Copy full SHA for 35fa5d8
View code at this point
Browse repository at this point
Commits on Jan 23, 2019
Merge pull request #782 from markshannon/python-add-more-tests
Show description for ffa8b12
taus-semmle
authored
ffa8b12
View commit details
Copy full SHA for ffa8b12
View code at this point
Browse repository at this point
Commits on Jan 16, 2019
Python, Exec used query: Remove restriction that call to exec function must be Python 3. For upcoming unified parser.
markshannon
committed
b4e8808
View commit details
Copy full SHA for b4e8808
View code at this point
Browse repository at this point
Commits on Nov 27, 2018
Python: Add utility predicate for finding ModuleObject by name.
markshannon
committed
435b309
View commit details
Copy full SHA for 435b309
View code at this point
Browse repository at this point
Commits on Nov 19, 2018
Initial commit of Python queries and QL libraries.
Mark Shannon
authored and
markshannon
committed
5f58824
View commit details
Copy full SHA for 5f58824
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.