Skip to content

Conversation

@mabruzzo
Copy link
Collaborator

No description provided.

@mabruzzo mabruzzo added gracklepy Relates to the gracklepy Python interface. code style Related to linting tools labels Jul 30, 2025
@brittonsmith
Copy link
Contributor

Looks like we're still using assert_allclose elsewhere in the code and importing it from pygrackle/utilities/testing.py. The rest looks fine.

@brittonsmith brittonsmith merged commit b36ed17 into grackle-project:main Aug 5, 2025
5 checks passed
mabruzzo added a commit to mabruzzo/grackle that referenced this pull request Aug 20, 2025
Background
----------

Previously we had replaced 99% uses of the Flake8 linter with the Ruff
linter (not to be confused with the Ruff formatter). We had continued to
use the Flake8 linter to deal with the following 2 files:

1. **gracklepy/utilities/testing.py**
2. **gracklepy/__init__.py**

In more detail, we were suppressing certain warnings in these 2 files
from Flake8, and transistioning to using the Ruff formatter for these
files would involve making a few changes.

More recently PRs grackle-project#368 and grackle-project#369 introduced the required changes into the
main branch. Now that those changes have been ported to the newchem-cpp
branch, we are able to make this change.

What Changed
------------

I essentially changed 3 things:

1. We no longer install and use flake8 in the continuous integration
2. I removed the **setup.cfg** file (it was **only** being used to track
   flake8 configuration information
3. I needed to tweak **pyproject.toml** to both:
   - stop excluding the **gracklepy/utilities/testing.py** and
     **gracklepy/__init__.py** files from the linter
   - stop listing flake8 as a development dependency
@mabruzzo mabruzzo deleted the address-flake8-other branch September 12, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code style Related to linting tools gracklepy Relates to the gracklepy Python interface.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants