Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle all remaining lint errors in tests #1681

Merged
merged 1 commit into from
May 7, 2024

Conversation

yaugenst-flex
Copy link
Contributor

Tests were still throwing a lot of lint errors, which made writing new ones a bit of a pain due to our pre-commit config.

Before (181 errors total):

image

After:

image

@yaugenst-flex yaugenst-flex marked this pull request as ready for review May 6, 2024 16:13
@tylerflex
Copy link
Collaborator

Looks like some fixture isnt' working in tests/test_plugins/test_design.py?

E       fixture 'ids' not found

Copy link
Collaborator

@tylerflex tylerflex left a comment

Choose a reason for hiding this comment

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

Looks good. For anyone viewing this later, this PR basically just fixes any existing warnings that came up when ruff check was applied to the tests. It seemed before we really only started with a tidy3d/ directory passing with ruff and the tests and pre-commit only tested files that were changed in the commit.

@tylerflex tylerflex merged commit d8561f1 into pre/2.7 May 7, 2024
16 checks passed
@tylerflex tylerflex deleted the yaugenst-flex/fix_test_lint branch May 7, 2024 23:43
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