Metadata-Version: 1.1
Name: flake8-graphql
Version: 0.2.2
Summary: A flake8 plugin to lint your graphql queries
Home-page: https://github.com/michaelaquilina/flake8-graphql
Author: Michael Aquilina
Author-email: michaelaquilina@gmail.com
License: AGPLv3
Description: Flake8 GraphQL
        ==============
        
        |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
        
Keywords: flake8,graphql
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
