jhanley634 / dojo-blackboard

An HTMX webserver for the Dojo's Tuesday night python meetups.
MIT License
3 stars 1 forks source link

54 interpreter versions #56

Closed jhanley634 closed 5 days ago

jhanley634 commented 5 days ago

Summary by Sourcery

Update the Makefile to comment out interpreter version checks and modify the subprocess call in cloc.py to use a relative command. Adjust the version specification for ortools in requirements.txt. Add a new GitHub Actions workflow for linting with support for Python 3.11 and 3.12.

Enhancements:

CI:

sourcery-ai[bot] commented 5 days ago

Reviewer's Guide by Sourcery

This PR makes several changes to dependency management and CI setup. It modifies the Python interpreter version checks, updates package versions, simplifies the cloc command path, and adds a new GitHub Actions workflow for linting.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Modified Python interpreter version handling in the build process
  • Commented out the Python version check command
  • Added a commented-out uv venv command for Python 3.12.7
Makefile
Updated package version requirements
  • Modified ortools version requirement from >= 9.11.4210 to >= 0.9.11.4210
requirements.txt
Simplified the cloc command execution
  • Changed cloc command path from absolute (/usr/local/bin/cloc) to rely on PATH environment
src/count/cloc.py
Added GitHub Actions workflow for linting
  • Created new workflow that runs on push and pull request events
  • Added support for Python 3.11 and 3.12
  • Configured steps for environment setup and dependency installation
  • Added system package installation for cloc and GObject dependencies
  • Included commands for running tests
.github/workflows/lint.yml

Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. - **Generate a pull request title:** Write `@sourcery-ai` anywhere in the pull request title to generate a title at any time. - **Generate a pull request summary:** Write `@sourcery-ai summary` anywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).