Skip to content
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

added linting with ruff #6

Merged
merged 12 commits into from
May 26, 2024
Merged

added linting with ruff #6

merged 12 commits into from
May 26, 2024

Conversation

KenMwaura1
Copy link
Owner

No description provided.

This commit enables Ruff linting for specific paths by adding the necessary configuration in the `ruff.toml` file. The `src/ignore.py` file is now included in the list of paths where the `no-implicit-any` rule is enabled. This ensures that the specified rule is enforced for the `src/ignore.py` file during linting.
This commit updates the Ruff configuration in the `ruff.toml` file to enable linting for specific paths. The `hsystem/ignore.py` file now has the `no-implicit-any` rule enabled, while the `no-implicit-optional` rule is disabled for the entire project. This ensures that the specified linting rules are enforced correctly for the respective paths.
This commit updates the Docker image build and test steps in the `.github/workflows/docker-image.yml` file. The changes include:
- Changing the working directory to `hsystem` before running the `docker-compose` commands
- Adding the `--force-rm` flag to the `docker-compose build` command
- Adding the `docker-compose up -d` command to start the Docker image for testing

These changes improve the build and test process for the Docker image.
@KenMwaura1 KenMwaura1 merged commit 9a8b457 into main May 26, 2024
11 checks passed
@KenMwaura1 KenMwaura1 deleted the dev branch May 26, 2024 12:42
@KenMwaura1 KenMwaura1 restored the dev branch May 26, 2024 12:43
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