
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
flake8-graphql
Advanced tools
|TravisCI| |PyPi|
Plugin for linting graphql query strings within your code.
Mark your query strings with any function or class named gql to perform linting:
.. code:: python
def gql(query):
return query
myquery = gql("""
{
empireHero: hero(episode: EMPIRE) {
name
}
jediHero: hero(episode: JEDI) {
name
}
""")
You can also customise the identifier to any value with the --gql-identifier option. This can
be set with command line arguments or within setup.cfg.
.. code:: shell
$ flake8 --gql-identifier=GQL
.. code:: python
class GQL(str):
pass
myquery = GQL("""
{
project(name: "GraphQL") {
tagline
}
}
""")
.. |TravisCI| image:: https://travis-ci.org/MichaelAquilina/flake8-graphql.svg?branch=master :target: https://travis-ci.org/MicahelAquilina/flake8-graphql
.. |PyPi| image:: https://badge.fury.io/py/flake8-graphql.svg :target: https://badge.fury.io/py/flake8-graphql
FAQs
A flake8 plugin to lint your graphql queries
We found that flake8-graphql demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.