- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.2k
 
[pyreverse] updated docs for filter-mode #9806
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
          
     Open
      
      
            kidq330
  wants to merge
  5
  commits into
  pylint-dev:main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
kidq330:main
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
      
        
          +14
        
        
          β17
        
        
          
        
      
    
  
  
     Open
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            5 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      371e985
              
                [pyreverse] updated docs for filter-mode
              
              
                kidq330 1fc441f
              
                [pre-commit.ci] auto fixes from pre-commit.com hooks
              
              
                pre-commit-ci[bot] 42aca42
              
                Add towncrier fragment
              
              
                kidq330 4ec438c
              
                [pre-commit.ci] auto fixes from pre-commit.com hooks
              
              
                pre-commit-ci[bot] 023e927
              
                Add towncrier fragment
              
              
                kidq330 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      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
    
  
  
    
              
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| Improved clarity for pyreverse help docs after some trouble with usage, more details in linked issue | ||
| 
     | 
||
| Closes #9805 | ||
  
    
      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
    
  
  
    
              
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| 
          
            
          
           | 
    @@ -56,15 +56,11 @@ | |
| "type": "string", | ||
| "action": "store", | ||
| "metavar": "<mode>", | ||
| "help": """filter attributes and functions according to | ||
| <mode>. Correct modes are : | ||
| 'PUB_ONLY' filter all non public attributes | ||
| [DEFAULT], equivalent to PRIVATE+SPECIAL_A | ||
| 'ALL' no filter | ||
| 'SPECIAL' filter Python special functions | ||
| except constructor | ||
| 'OTHER' filter protected and private | ||
| attributes""", | ||
| "help": "filter attributes and functions according to <mode>. Correct modes are:" | ||
| 
         There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did you decide to remove the formatting here?  | 
||
| "'PUB_ONLY' - filter all non public attributes;" | ||
| 
         There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 
  | 
||
| "'ALL' - no filter;" | ||
| "'SPECIAL' - filter Python special functions except constructor;" | ||
| "'OTHER' - filter protected and private attributes, but not special functions;", | ||
| }, | ||
| ), | ||
| ( | ||
| 
        
          
        
         | 
    @@ -76,8 +72,8 @@ | |
| "type": "csv", | ||
| "dest": "classes", | ||
| "default": None, | ||
| "help": "create a class diagram with all classes related to <class>;\ | ||
| this uses by default the options -ASmy", | ||
| "help": "create a class diagram with all classes related to <class>;" | ||
| "this uses by default the options -ASmy", | ||
| }, | ||
| ), | ||
| ( | ||
| 
          
            
          
           | 
    @@ -174,12 +170,10 @@ | |
| "default": "dot", | ||
| "metavar": "<format>", | ||
| "type": "string", | ||
| "help": ( | ||
| "create a *.<format> output file if format is available. Available " | ||
| f"formats are: {', '.join(DIRECTLY_SUPPORTED_FORMATS)}. Any other " | ||
| f"format will be tried to create by means of the 'dot' command line " | ||
| f"tool, which requires a graphviz installation." | ||
| ), | ||
| "help": "create a *.<format> output file if format is available. Available " | ||
| f"formats are: {', '.join(DIRECTLY_SUPPORTED_FORMATS)}. Any other " | ||
| f"format will be tried to create by means of the 'dot' command line " | ||
| f"tool, which requires a graphviz installation.", | ||
| }, | ||
| ), | ||
| ( | ||
| 
          
            
          
           | 
    ||
  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.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove this. I'll add the correct label so CI still passes.