Skip to content

🧹 Pre-commit hook to clean your python __init__.py files automatically

License

Notifications You must be signed in to change notification settings

chainyo/py-init-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Init Cleaner

Pre-commit hook to clean your python init.py files automatically.

Installation

Add this to your .pre-commit-config.yaml:

repos:
  - repo: https://github.com/chainyo/py-init-cleaner
    rev: "v2.0.0"
    hooks:
      - id: py-init-cleaner
        args: ["--dir", "src"] # 👈 Change the 'src' argument to the name of the folder you want to check

About

🧹 Pre-commit hook to clean your python __init__.py files automatically

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages