- 
                Notifications
    You must be signed in to change notification settings 
- Fork 233
Toughen rough linting #907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
                
     Merged
            
            
          Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    | Codecov ReportAttention:  
 
 
 Additional details and impacted files@@            Coverage Diff             @@
##           master     #907      +/-   ##
==========================================
- Coverage   70.71%   70.38%   -0.34%     
==========================================
  Files          26       26              
  Lines        1950     1955       +5     
  Branches      407      409       +2     
==========================================
- Hits         1379     1376       -3     
- Misses        448      453       +5     
- Partials      123      126       +3     ☔ View full report in Codecov by Sentry. | 
src/tmuxp/_internal/config_reader.py:50:39: EM102 Exception must not use an f-string literal, assign to variable first src/tmuxp/_internal/config_reader.py:113:39: EM102 Exception must not use an f-string literal, assign to variable first src/tmuxp/_internal/config_reader.py:188:39: EM102 Exception must not use an f-string literal, assign to variable first src/tmuxp/plugin.py:191:21: EM103 Exception must not use a `.format()` string directly, assign to variable first Found 4 errors.
docs/_ext/aafig.py:59:5: A001 Variable `id` is shadowing a Python builtin docs/_ext/aafig.py:121:9: A001 Variable `format` is shadowing a Python builtin docs/_ext/aafig.py:137:27: A001 Variable `id` is shadowing a Python builtin docs/conf.py:59:1: A001 Variable `copyright` is shadowing a Python builtin src/tmuxp/_internal/config_reader.py:30:15: A002 Argument `format` is shadowing a Python builtin src/tmuxp/_internal/config_reader.py:54:19: A002 Argument `format` is shadowing a Python builtin src/tmuxp/_internal/config_reader.py:110:13: A001 Variable `format` is shadowing a Python builtin src/tmuxp/_internal/config_reader.py:112:13: A001 Variable `format` is shadowing a Python builtin src/tmuxp/_internal/config_reader.py:164:9: A002 Argument `format` is shadowing a Python builtin src/tmuxp/_internal/config_reader.py:193:20: A002 Argument `format` is shadowing a Python builtin Found 10 errors.
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Changes
ruff linting
flake8-commas (COM)
flake8-builtins (A)
flake8-errmsg (EM)