equinor / xtgeo

XTGeo Python class library for subsurface Surfaces, Cubes, Wells, Grids, Points, etc
https://xtgeo.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
110 stars 56 forks source link

Incremental Integration of Ruff. #1086

Closed janbjorge closed 8 months ago

janbjorge commented 9 months ago

This issue is to track the incremental integration of ruff, a fast Python linter, into the xtgeo library. Our approach involves enabling ruff rules gradually to manage and improve code quality without overwhelming the codebase with extensive changes in a single go.

We have started by enabling a few rules and have successfully merged PRs addressing these initial changes. As we proceed, more rules will be enabled, each followed by corresponding PRs to implement the necessary code adjustments.

Note: This is a step-by-step, incremental process. We started with just a few rules and are adding more as we progress. This approach ensures manageable and reviewable changes, maintaining the quality and stability of the xtgeo library

mferrera commented 8 months ago

Completed!