Skip to content

Replace Black with Ruff for code formatting and linting - #211

Open
tpsiqueira wants to merge 2 commits into
mainfrom
other_improvements
Open

Replace Black with Ruff for code formatting and linting#211
tpsiqueira wants to merge 2 commits into
mainfrom
other_improvements

Conversation

@tpsiqueira

Copy link
Copy Markdown
Collaborator

Description

This PR replaces Black with Ruff for code formatting and linting, and updates the related files to keep the project's configuration and documentation consistent.

Changes

  • Replace Black with Ruff
  • Update pyproject.toml
  • Update bin/lint
  • Remove the Black GitHub workflow
  • Update contributing guidelines and documentation
  • Update code style badges

By creating this pull request, I confirm that I have read and fully accept and agree with one of the Petrobras' Contributor License Agreements (CLAs):

Our CLAs are based on the Apache Software Foundation's CLAs:

@coveralls

coveralls commented Aug 12, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 31738007897

Coverage remained the same at 79.926%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: 1 uncovered change across 1 file (3 of 4 lines covered, 75.0%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
toolkit/ThreeWToolkit/dataset/parquet_dataset.py 1 0 0.0%
Total (4 files) 4 3 75.0%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 3378
Covered Lines: 2716
Line Coverage: 80.4%
Relevant Branches: 408
Covered Branches: 310
Branch Coverage: 75.98%
Branches in Coverage %: Yes
Coverage Strength: 0.8 hits per line

💛 - Coveralls

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