File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Python Formatter (isort & black) 
2+ 
3+ on :
4+   pull_request :
5+     branches : [main] 
6+ 
7+ jobs :
8+   formatting :
9+     runs-on : ubuntu-latest 
10+     steps :
11+       - uses : actions/checkout@v4 
12+       - name : Set up Python 
13+         uses : actions/setup-python@v5 
14+         with :
15+           python-version : ' 3.9' 
16+       - name : Install isort and black 
17+         run : | 
18+           python -m pip install --upgrade pip 
19+           pip install isort black 
20+ name : Run isort and black 
21+         run : | 
22+           isort -c . 
23+           black --check . 
Original file line number Diff line number Diff line change 11[build-system ]
22requires  = [" setuptools>=67.0" 
33build-backend  = " setuptools.build_meta" 
4+ 
5+ [tool .isort ]
6+ line_length  = 120 
7+ multi_line_output  = 1 
8+ include_trailing_comma  = true 
9+ 
10+ [tool .black ]
11+ line_length  = 120 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments