Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fbehrendt/AutoPyDoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

379 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoPyDoc

Tool to automatically generate and update docstrings for Python code for use in GitHub Actions.

Add autopydoc.yml to your repository

Usage: copy autopydoc.yml to .github/workflows in your repository edit autopydoc.yml and replace with your repositories name, with the user the repository is from and with the user that should create the new branch for the pull request.

Add an authentication token

Go to https://github.com/settings/profile -> Developer settings -> Personal access tokens -> Fine-grained tokens

Token name: Access Token AutoPyDoc Expiration: your choice Repository access->only selected repositories:

  • your repository Permissions: Contents: read and write pull requests: read and write secrets: read only

copy this token

Go to https://github.com/<user>/<repo>/settings/secrets/actions -> new repository secret Name: FULL_ACCESS_TOKEN Secret:

-> new repository secret Name: PULL_REQUEST_TOKEN Secret:

Development Setup

# Install dependencies
uv sync

# Run the CLI
uv run src/main_cli.py

About

An AI based docstring generator for python projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages