Skip to content

Conversation

sliedig
Copy link
Collaborator

@sliedig sliedig commented Jan 3, 2025

Issue #, if available:

Description of changes:

Summary

Updates the project's Python tooling in two major ways:

  • Adds a comprehensive ruff.toml configuration to standardize code formatting and linting
  • Migrates from Poetry to UV for faster, more reliable dependency management
  • Fixed tests

Changes

Ruff Configuration

  • Added a new ruff.toml configuration file for code formatting and linting.
  • Removed .flake8 and bandit.baseline files as part of the transition to ruff.
  • Updated Makefile to use ruff for formatting and linting instead of isort and flake8.

UV Migration

  • Updated pyproject.toml to reflect changes in dependencies and build system, switching from Poetry to Hatch.
  • Removed poetry.lock and added uv.lock for managing dependencies with the new system.
  • Bumped project version from 0.3.2 to 0.3.3.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sliedig added 10 commits January 3, 2025 11:40
…f configuration

- Added a new `ruff.toml` configuration file for code formatting and linting.
- Removed `.flake8` and `bandit.baseline` files as part of the transition to ruff.
- Updated `Makefile` to use `ruff` for formatting and linting instead of `isort` and `flake8`.
- Updated `pyproject.toml` to reflect changes in dependencies and build system, switching from Poetry to Hatch.
- Removed `poetry.lock` and added `uv.lock` for managing dependencies with the new system.
- Bumped project version from 0.3.2 to 0.3.3.
…ependency management

- Added concurrency settings to prevent simultaneous runs in `publish.yml` and `tests.yml`.
- Upgraded `actions/checkout` from v3 to v4 across all workflows.
- Updated Python version from 3.8 to 3.13 in `publish.yml` and `tests.yml`.
- Updated Go version from 1.16 to 1.23 in `publish.yml` and `tests.yml`.
- Bumped `release-drafter` action from v5 to v6 in `release-drafter.yml`.
- Updated TFLint version from v0.29.0 to v0.50.0 in `publish.yml`.
- Added `astral-sh/setup-uv` action for UV installation in `publish.yml` and `tests.yml`.
Copy link
Collaborator

@leandrodamascena leandrodamascena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUPER nice PR @sliedig! APPROVED!

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.

2 participants