Skip to content

Commit

Permalink
Fix pylint error in Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhad6 committed Oct 2, 2023
1 parent 579a631 commit 5fb166b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Helper functions for paramdb tests."""

# In Python 3.9, Pylint complains that field() cannot be used in parameter dataclasses,
# so we disable the rule here.
# pylint: disable=invalid-field-call

from __future__ import annotations
from typing import Any
from dataclasses import field
Expand Down

0 comments on commit 5fb166b

Please sign in to comment.