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: | build: | ||||||
|     environment: |     environment: | ||||||
|         python: '3.5.0' |         python: '3.5.0' | ||||||
|         node: 'v6.2.0' |  | ||||||
|         variables: |         variables: | ||||||
|             DJANGO_SETTINGS_MODULES: settings |             DJANGO_SETTINGS_MODULES: settings | ||||||
|             DATABASE_URL: postgres://scrutinizer:scrutinizer@localhost:5434/localized_fields |             DATABASE_URL: postgres://scrutinizer:scrutinizer@localhost:5434/localized_fields | ||||||
|         postgresql: true |         postgresql: true | ||||||
|         redis: true |  | ||||||
|     dependencies: |     dependencies: | ||||||
|         override: |         override: | ||||||
|             - 'pip install -r requirements/test.txt' |             - 'pip install -r requirements/test.txt' | ||||||
|     tests: |     tests: | ||||||
|         override: |         override: | ||||||
|  |             - | ||||||
|  |                 command: pep8 ./localized_fields/ | ||||||
|  |             - | ||||||
|  |                 command: flake8 ./localized_fields/ | ||||||
|             - |             - | ||||||
|                 command: coverage run manage.py test |                 command: coverage run manage.py test | ||||||
|                 coverage: |                 coverage: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user