-
-
Notifications
You must be signed in to change notification settings - Fork 2
build: consolidate linting/formatting configuration #264
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
Conversation
- use tox.ini for most of the tools - relocate devcontainer setup and streamline development tooling
Reviewer's GuideCentralize all linting and formatting configurations into the main and stubs tox.ini files, update pre-commit hooks to reference these unified settings, and remove deprecated standalone config files and the outdated devcontainer Dockerfile. Flow diagram for pre-commit hook configuration after consolidationflowchart TD
PreCommit[".pre-commit-config.yaml"]
ToxINI["tox.ini (main)"]
ToxINIStubs["tox.ini (stubs)"]
Hook1["isort-incendium"]
Hook2["isort-stubs"]
Hook3["docformatter"]
Hook4["flake8-incendium"]
Hook5["flake8-stubs"]
Hook6["pydocstyle"]
Hook7["pydoclint-flake8"]
PreCommit --> Hook1
PreCommit --> Hook2
PreCommit --> Hook3
PreCommit --> Hook4
PreCommit --> Hook5
PreCommit --> Hook6
PreCommit --> Hook7
Hook1 -->|--settings-file| ToxINI
Hook2 -->|--settings-file| ToxINIStubs
Hook3 -->|--config| ToxINI
Hook4 -->|--config| ToxINI
Hook5 -->|--config| ToxINIStubs
Hook6 -->|--config| ToxINI
Hook7 -->|--config| ToxINI
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @cesarcoatl - I've reviewed your changes and they look great!
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Summary by Sourcery
Consolidate all linting and formatting configurations into the project’s tox.ini files and streamline the development container setup
Build:
CI: