GeezerVison is showing github.com — fix: Fix linting and formatting issues by franciscojavierarceo · Pull Request #5907 · feast-dev/feast
Conversation
Summary
This PR fixes linting and formatting issues found in the codebase.
Changes
- Fixed code formatting in
feast/type_map.py to comply with ruff formatting standards
- Applied proper line breaking for boolean set value conversion code
Testing
- Linting passes (
python -m ruff check feast/ tests/)
- Formatting passes (
python -m ruff format --check feast/ tests/)
- Type checking passes (
python -m mypy feast)
This is a code style improvement with no functional changes.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Devin Review found 1 potential issue.
View issue and 5 additional flags in Devin Review.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Devin Review found 1 new potential issue.
View issue and 9 additional flags in Devin Review.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Apply ruff formatting to fix linting issues
- Fix line breaking for boolean set value conversion
- No functional changes, just code style compliance
Co-Authored-By: Claude Sonnet 4 <[email protected]>
The issue was that setUp() used a 'with tempfile.TemporaryDirectory()' context
manager, which deleted the temporary directory when setUp() finished, but the
tests tried to access the SQLite database files later.
Changes:
- Replace 'with tempfile.TemporaryDirectory()' with 'tempfile.mkdtemp()'
- Add proper tearDown() method to clean up temporary directory
- Fix indentation after removing the 'with' block
This resolves the 'sqlite3.OperationalError: disk I/O error' that was
occurring in multiple test methods.
Co-Authored-By: Claude Sonnet 4 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
YassinNouh21
pushed a commit
to YassinNouh21/feast
that referenced
this pull request
Feb 7, 2026
* fix: Fix code formatting in type_map.py
- Apply ruff formatting to fix linting issues
- Fix line breaking for boolean set value conversion
- No functional changes, just code style compliance
Co-Authored-By: Claude Sonnet 4 <[email protected]>
* fix: Fix SQLite I/O error in OnDemandPythonTransformation tests
The issue was that setUp() used a 'with tempfile.TemporaryDirectory()' context
manager, which deleted the temporary directory when setUp() finished, but the
tests tried to access the SQLite database files later.
Changes:
- Replace 'with tempfile.TemporaryDirectory()' with 'tempfile.mkdtemp()'
- Add proper tearDown() method to clean up temporary directory
- Fix indentation after removing the 'with' block
This resolves the 'sqlite3.OperationalError: disk I/O error' that was
occurring in multiple test methods.
Co-Authored-By: Claude Sonnet 4 <[email protected]>
* fix: Apply ruff formatting to test file
---------
Co-authored-by: Claude Sonnet 4 <[email protected]>
Signed-off-by: yassinnouh21 <[email protected]>
YassinNouh21
pushed a commit
to YassinNouh21/feast
that referenced
this pull request
Feb 7, 2026
* fix: Fix code formatting in type_map.py
- Apply ruff formatting to fix linting issues
- Fix line breaking for boolean set value conversion
- No functional changes, just code style compliance
Co-Authored-By: Claude Sonnet 4 <[email protected]>
* fix: Fix SQLite I/O error in OnDemandPythonTransformation tests
The issue was that setUp() used a 'with tempfile.TemporaryDirectory()' context
manager, which deleted the temporary directory when setUp() finished, but the
tests tried to access the SQLite database files later.
Changes:
- Replace 'with tempfile.TemporaryDirectory()' with 'tempfile.mkdtemp()'
- Add proper tearDown() method to clean up temporary directory
- Fix indentation after removing the 'with' block
This resolves the 'sqlite3.OperationalError: disk I/O error' that was
occurring in multiple test methods.
Co-Authored-By: Claude Sonnet 4 <[email protected]>
* fix: Apply ruff formatting to test file
---------
Co-authored-by: Claude Sonnet 4 <[email protected]>
Signed-off-by: yassinnouh21 <[email protected]>
jyejare
pushed a commit
to opendatahub-io/feast
that referenced
this pull request
Mar 9, 2026
* fix: Fix code formatting in type_map.py
- Apply ruff formatting to fix linting issues
- Fix line breaking for boolean set value conversion
- No functional changes, just code style compliance
Co-Authored-By: Claude Sonnet 4 <[email protected]>
* fix: Fix SQLite I/O error in OnDemandPythonTransformation tests
The issue was that setUp() used a 'with tempfile.TemporaryDirectory()' context
manager, which deleted the temporary directory when setUp() finished, but the
tests tried to access the SQLite database files later.
Changes:
- Replace 'with tempfile.TemporaryDirectory()' with 'tempfile.mkdtemp()'
- Add proper tearDown() method to clean up temporary directory
- Fix indentation after removing the 'with' block
This resolves the 'sqlite3.OperationalError: disk I/O error' that was
occurring in multiple test methods.
Co-Authored-By: Claude Sonnet 4 <[email protected]>
* fix: Apply ruff formatting to test file
---------
Co-authored-by: Claude Sonnet 4 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|