Alan Barzilay

Results 50 comments of Alan Barzilay

> Install poetry-bumpversion plugin. > > poetry self add poetry-bumpversion. > isnt there a way to set this as a dev dependency? Since it is a pipy package > git...

Since I have no permission to set the secret, I have been reaching out to @bndr to set it but I've got no response for the last couple months. Maybe...

actually, this might be better: ``` import importlib.metadata import tomllib try: with open("pyproject.toml", "rb") as f: pyproject = tomllib.load(f) __version__ = pyproject["tool"]["poetry"]["version"] except Exception as e: __version__ = importlib.metadata.version('pipreqs') ```...

> When I run git commit -m 'test', I receive the following error: FileNotFoundError: [Errno 2] No such file or directory: 'flake8'. Then I ran the same command with poetry:...

this issue is currently blocked due to bots lack of permissions

relevant reference: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run Also: > Note: This event will only trigger a workflow run if the workflow file is on the default branch.

it will go from this: ![image](https://github.com/bndr/pipreqs/assets/28787373/4d4897e8-827e-4595-844a-ad25c24520bd) to this: ![image](https://github.com/bndr/pipreqs/assets/28787373/fbdeaff3-6645-44eb-9337-b0fb03fa5b8b)

tested on https://github.com/pipreqsxp/pipreqs/actions/runs/6800189760/job/18488179557 and tests work as expected once they reach the main branch, with codecov being called after a successful run of "Tests". (The code coverage test is expected...

> Would you consider adding a report here? like it is done in [Code Coverage Report](https://github.com/marketplace/actions/code-coverage-report-action) using insightsengineering/coverage-action@v2. It would be nice to see the status during the PR progress....