mirror of
				https://github.com/cookiecutter/cookiecutter-django.git
				synced 2025-11-04 01:47:28 +03:00 
			
		
		
		
	Update linters page for better syntax highlighting
This commit is contained in:
		
							parent
							
								
									c51fd710d2
								
							
						
					
					
						commit
						fa162dc970
					
				| 
						 | 
					@ -5,9 +5,9 @@ Linters
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
flake8
 | 
					flake8
 | 
				
			||||||
-------
 | 
					------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
To run flake8:
 | 
					To run flake8: ::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    $ flake8
 | 
					    $ flake8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,7 +19,7 @@ The config for flake8 is located in setup.cfg. It specifies:
 | 
				
			||||||
pylint
 | 
					pylint
 | 
				
			||||||
------
 | 
					------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This is included in flake8's checks, but you can also run it separately to see a more detailed report:
 | 
					This is included in flake8's checks, but you can also run it separately to see a more detailed report: ::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    $ pylint <python files that you wish to lint>
 | 
					    $ pylint <python files that you wish to lint>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,9 +31,9 @@ The config for pylint is located in .pylintrc. It specifies:
 | 
				
			||||||
* max-parents=13
 | 
					* max-parents=13
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pycodestyle
 | 
					pycodestyle
 | 
				
			||||||
-----
 | 
					-----------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This is included in flake8's checks, but you can also run it separately to see a more detailed report:
 | 
					This is included in flake8's checks, but you can also run it separately to see a more detailed report: ::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    $ pycodestyle <python files that you wish to lint>
 | 
					    $ pycodestyle <python files that you wish to lint>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user