File tree Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,15 @@ jobs:
2020            - uses : actions/setup-python@v5 
2121              with :
2222                  python-version : 3.x 
23+             - name : Check docs links 
24+               uses : umbrelladocs/action-linkspector@v1 
25+               with :
26+                   github_token : ${{ secrets.github_token }} 
27+                   reporter : github-pr-review 
28+                   fail_on_error : true 
2329            - name : Check docs build 
2430              run : | 
2531                  pip install -r requirements/build-docs.txt 
26-                   linkcheckMarkdown docs/ -v -r 
27-                   linkcheckMarkdown README.md -v -r 
28-                   linkcheckMarkdown CHANGELOG.md -v -r 
2932                  cd docs 
3033                  mkdocs build --strict 
3134name : Check docs examples 
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ venv.bak/
101101
102102#  mkdocs documentation
103103/site 
104+ docs /site 
104105
105106#  mypy
106107.mypy_cache /
Original file line number Diff line number Diff line change 1+ dirs :
2+     - ./docs 
3+ files :
4+     - README.md 
5+     - CHANGELOG.md 
6+ useGitIgnore : true 
7+ modifiedFilesOnly : false 
Original file line number Diff line number Diff line change 22mkdocs-git-revision-date-localized-plugin
33mkdocs-material==9.4.0
44mkdocs-include-markdown-plugin
5- linkcheckmd
65mkdocs-spellcheck[all]
76mkdocs-git-authors-plugin
87mkdocs-minify-plugin
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ def clean_user_data(verbosity: int = 1):
8787    start_time  =  timezone .now ()
8888    user_model  =  get_user_model ()
8989    all_users  =  user_model .objects .all ()
90-     all_user_pks  =  all_users .values_list (user_model ._meta .pk .name , flat = True )   # type: ignore 
90+     all_user_pks  =  all_users .values_list (user_model ._meta .pk .name , flat = True )
9191
9292    # Django doesn't support using QuerySets as an argument with cross-database relations. 
9393    if  user_model .objects .db  !=  UserDataModel .objects .db :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments