fixed styling errors detected by pylint
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3878]
This commit is contained in:
		
							parent
							
								
									f87e564528
								
							
						
					
					
						commit
						dc897e9225
					
				
							
								
								
									
										10
									
								
								starbench.py
								
								
								
								
							
							
						
						
									
										10
									
								
								starbench.py
								
								
								
								
							|  | @ -75,7 +75,7 @@ class StopWhenConverged(IStarBencherStopCondition): | ||||||
|         return do_stop |         return do_stop | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class StarBencher(): | class StarBencher():  # pylint: disable=function-redefined (false positive) | ||||||
|     ''' |     ''' | ||||||
|     the 'star' term comes from hpl's stadgemm benchmark, where we launch `n` independent programs on `n cores` |     the 'star' term comes from hpl's stadgemm benchmark, where we launch `n` independent programs on `n cores` | ||||||
|     ''' |     ''' | ||||||
|  | @ -208,10 +208,10 @@ def test_starbencher(): | ||||||
|         mean_duration = bench.run() |         mean_duration = bench.run() | ||||||
|         print(mean_duration) |         print(mean_duration) | ||||||
| 
 | 
 | ||||||
|     if False: |     # if False: | ||||||
|         bench = StarBencher(run_command=['ls', '/tmp'], num_cores_per_run=1, num_parallel_runs=2, max_num_cores=2, max_error=0.0001) |     #     bench = StarBencher(run_command=['ls', '/tmp'], num_cores_per_run=1, num_parallel_runs=2, max_num_cores=2, max_error=0.0001) | ||||||
|         mean_duration = bench.run() |     #     mean_duration = bench.run() | ||||||
|         print(mean_duration) |     #     print(mean_duration) | ||||||
| 
 | 
 | ||||||
| # end of starbencher | # end of starbencher | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue