mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-11-04 09:57:53 +03:00 
			
		
		
		
	* Use ruff in pre-commit * Add pyupgrade * Add isort * Add bugbear * Fix B015 Pointless comparison * Fix B026 * B018 false positive * Remove flake8 and isort config from setup.cfg * Remove black and flake8 from dev dependencies * Update black * Show list of fixes applied with autofix on * Fix typo * Add C4 flake8-comprehensions * Add ruff to dev dependencies * Fix up
		
			
				
	
	
		
			17 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import graphene
 | 
						|
from graphene_django.debug import DjangoDebug
 | 
						|
 | 
						|
import cookbook.ingredients.schema
 | 
						|
import cookbook.recipes.schema
 | 
						|
 | 
						|
 | 
						|
class Query(
 | 
						|
    cookbook.ingredients.schema.Query,
 | 
						|
    cookbook.recipes.schema.Query,
 | 
						|
    graphene.ObjectType,
 | 
						|
):
 | 
						|
    debug = graphene.Field(DjangoDebug, name="_debug")
 | 
						|
 | 
						|
 | 
						|
schema = graphene.Schema(query=Query)
 |