Skip to content

chore: add pre-commit configuration and update dev dependencies#11

Merged
oVitorio-ac merged 1 commit intodevelopmentfrom
CICD
Oct 10, 2025
Merged

chore: add pre-commit configuration and update dev dependencies#11
oVitorio-ac merged 1 commit intodevelopmentfrom
CICD

Conversation

@oVitorio-ac
Copy link
Owner

Add pre-commit hooks for code quality checks including trailing whitespace, end-of-file fixes, YAML validation, large file checks, Black formatting, isort imports, Flake8 linting, and Pylint analysis. Update pyproject.toml with corresponding dev dependencies for flake8, pylint, and pre-commit.

PULL REQUEST FOR card-id

Type

  • Release
  • MTP (Move to Production)
  • MTS (Move to Staging)
  • DEV (Implement in Dev)

Description

...

Screenshots

  • Yes
  • No

How to Test

...

Dependencies

Checklist (Code Review)

  • Changes have a maximum of 400 lines.
  • I have performed a self-review of my own code.
  • Existing tests and linter pass locally with my changes.
  • I have commented my code in hard-to-understand areas (if applicable).
  • I have created tests for my fix or feature (if applicable).
  • Documentation has been updated to reflect the changes.
  • Business logic is correct and aligned with requirements.
  • Code quality meets established best practices and standards.
  • Tests are comprehensive, and all pass.
  • No security issues introduced by the changes.
  • Changes do not negatively impact system performance.
  • Documentation is clear and understandable.
  • Changes comply with established coding standards.
  • Constructive feedback has been provided on the code and proposed changes.

card-id

Add pre-commit hooks for code quality checks including trailing whitespace,
end-of-file fixes, YAML validation, large file checks, Black formatting,
isort imports, Flake8 linting, and Pylint analysis. Update pyproject.toml
with corresponding dev dependencies for flake8, pylint, and pre-commit.
@oVitorio-ac oVitorio-ac merged commit 18b8f7a into development Oct 10, 2025
1 check passed
oVitorio-ac added a commit that referenced this pull request Oct 10, 2025
* ci: add CI workflow and branch deletion automation

Add GitHub Actions workflows for continuous integration testing and automated deletion of merged branches. The CI workflow includes steps for Python setup, dependency installation with Poetry, running tests, and linting with Black, isort, and detect-secrets. The branch deletion workflow removes merged branches upon PR closure.

* ci: remove dev and prod CI workflows

* chore: add pre-commit configuration and update dev dependencies (#11)

Add pre-commit hooks for code quality checks including trailing whitespace,
end-of-file fixes, YAML validation, large file checks, Black formatting,
isort imports, Flake8 linting, and Pylint analysis. Update pyproject.toml
with corresponding dev dependencies for flake8, pylint, and pre-commit.

Co-authored-by: Vitório A. Cavalheiro <vitorio@dmxdesign.com.br>

* chore: add pre-commit configuration and update dev dependencies (#12)

* chore: add pre-commit configuration and update dev dependencies

Add pre-commit hooks for code quality checks including trailing whitespace,
end-of-file fixes, YAML validation, large file checks, Black formatting,
isort imports, Flake8 linting, and Pylint analysis. Update pyproject.toml
with corresponding dev dependencies for flake8, pylint, and pre-commit.

* ci: update branch deletion to use API call in delete-branch workflow

The change replaces `gh branch delete` with a direct GitHub API DELETE request for more reliable branch deletion in the CI workflow.

---------

Co-authored-by: Vitório A. Cavalheiro <vitorio@dmxdesign.com.br>

* refactor(generator): streamline module imports and enhance type safety (#13)

Introduce __all__ declarations in package init files to clearly define the public API for LoremIpsum, PDFGenerator, and related classes. Convert absolute imports to relative paths for better encapsulation and add type hints to method signatures in PDFGenerator for improved code clarity and maintainability.

Co-authored-by: Vitório A. Cavalheiro <vitorio@dmxdesign.com.br>

---------

Co-authored-by: Vitório A. Cavalheiro <vitorio@dmxdesign.com.br>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant