mirror of
				https://github.com/SectorLabs/django-localized-fields.git
				synced 2025-10-31 10:48:56 +03:00 
			
		
		
		
	Add PEP8 and Flake8 as part of Scrutinizer test
This commit is contained in:
		| @@ -13,17 +13,20 @@ filter: | ||||
| build: | ||||
|     environment: | ||||
|         python: '3.5.0' | ||||
|         node: 'v6.2.0' | ||||
|         variables: | ||||
|             DJANGO_SETTINGS_MODULES: settings | ||||
|             DATABASE_URL: postgres://scrutinizer:scrutinizer@localhost:5434/localized_fields | ||||
|         postgresql: true | ||||
|         redis: true | ||||
|  | ||||
|     dependencies: | ||||
|         override: | ||||
|             - 'pip install -r requirements/test.txt' | ||||
|     tests: | ||||
|         override: | ||||
|             - | ||||
|                 command: pep8 ./localized_fields/ | ||||
|             - | ||||
|                 command: flake8 ./localized_fields/ | ||||
|             - | ||||
|                 command: coverage run manage.py test | ||||
|                 coverage: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user