mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: set up ruff as a new linter/formatter (#28158)
This commit is contained in:
committed by
GitHub
parent
e8a678b75a
commit
2d63722150
@@ -14,10 +14,10 @@
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
import pytest
|
||||
import pytest # noqa: F401
|
||||
|
||||
from superset.extensions import cache_manager
|
||||
from superset.utils.core import backend, DatasourceType
|
||||
from superset.utils.core import backend, DatasourceType # noqa: F401
|
||||
from tests.integration_tests.base_tests import SupersetTestCase
|
||||
|
||||
|
||||
@@ -46,4 +46,4 @@ class UtilsCacheManagerTests(SupersetTestCase):
|
||||
}
|
||||
|
||||
def test_get_explore_form_data_cache_invalid_key(self):
|
||||
assert cache_manager.explore_form_data_cache.get("foo") == None
|
||||
assert cache_manager.explore_form_data_cache.get("foo") is None # noqa: E711
|
||||
|
||||
Reference in New Issue
Block a user