| 
									
										
										
										
											2016-05-10 23:45:41 -07:00
										 |  |  | # -*- conf -*- | 
					
						
							| 
									
										
										
										
											2016-05-11 01:25:40 -07:00
										 |  |  | # flake8 settings for Spack. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Below we describe which flake8 checks Spack ignores and what the | 
					
						
							|  |  |  | # rationale is. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Let people line things up nicely: | 
					
						
							| 
									
										
										
										
											2016-08-22 12:07:50 -05:00
										 |  |  | # - E129: visually indented line with same indent as next logical line | 
					
						
							| 
									
										
										
										
											2016-05-11 01:25:40 -07:00
										 |  |  | # - E221: multiple spaces before operator | 
					
						
							| 
									
										
										
										
											2016-08-22 12:07:50 -05:00
										 |  |  | # - E241: multiple spaces after ',' | 
					
						
							|  |  |  | # - E272: multiple spaces before keyword | 
					
						
							| 
									
										
										
										
											2016-05-10 23:45:41 -07:00
										 |  |  | # | 
					
						
							| 
									
										
										
										
											2016-05-26 14:27:15 -07:00
										 |  |  | # Let people use terse Python features: | 
					
						
							| 
									
										
										
										
											2017-04-25 13:01:25 -05:00
										 |  |  | # - E731: lambda expressions | 
					
						
							| 
									
										
										
										
											2016-05-26 14:27:15 -07:00
										 |  |  | # | 
					
						
							| 
									
										
										
										
											2016-05-11 01:25:40 -07:00
										 |  |  | # Spack allows wildcard imports: | 
					
						
							|  |  |  | # - F403: disable wildcard import | 
					
						
							| 
									
										
										
										
											2016-05-10 23:45:41 -07:00
										 |  |  | # | 
					
						
							| 
									
										
										
										
											2017-04-25 13:01:25 -05:00
										 |  |  | # These are required to get the package.py files to test clean: | 
					
						
							| 
									
										
										
										
											2016-08-22 12:07:50 -05:00
										 |  |  | # - F405: `name` may be undefined, or undefined from star imports: `module` | 
					
						
							|  |  |  | # - F821: undefined name `name` (needed for cmake, configure, etc.) | 
					
						
							|  |  |  | # - F999: syntax error in doctest | 
					
						
							| 
									
										
										
										
											2016-05-11 01:25:40 -07:00
										 |  |  | # | 
					
						
							|  |  |  | [flake8] | 
					
						
							| 
									
										
										
										
											2016-08-22 12:07:50 -05:00
										 |  |  | ignore = E129,E221,E241,E272,E731,F403,F405,F821,F999 | 
					
						
							| 
									
										
										
										
											2016-05-10 23:45:41 -07:00
										 |  |  | max-line-length = 79 |