Closed DeepBlockDeepak closed 6 months ago
ADDITIONAL UPDATE TO MAKE #22 Possible. I've restructured the project into a proper Python package to resolve issues with running poetry scripts as defined in pyproject.toml's tools.poetry.scripts
. This reorganization was necessary for poetry to correctly recognize and execute the custom dev_tools scripts for formatting, linting, and testing. The restructuring involved creating a new package directory, kaggle_titanic
, within src, moving relevant modules into this package, and updating import paths accordingly. As a result, commands like poetry run format
, poetry run lint
, poetry run test
, and poetry run all-checks
now function as intended, streamlining development workflow significantly.
Overview
Adding consistency and efficiency to Dev + CI/CD processes,
pyproject.toml
and.github/workflows/main.yml
need to be updated to better integrate Poetry's capabilities with existing GitHub Actions workflow. This will simplify running tests, linting, and formatting (both locally and in CI/CD too).Tasks
pyproject.toml
Updates -> :all-checks
) for running all checks in one go..github/workflows/main.yml
Updates -> :pyproject.toml
.README
andCONTRIBUTING
Updates -> :Benefits :
Concerns :
Action :
pyproject.toml
and.github/workflows/main.yml
.main
after successful testing and approval.