From 699d64bb6cb83accd2284ceb1a109ec44705c649 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 11 Feb 2025 04:49:27 +0800 Subject: [PATCH] Bump to ruff 0.9.6 and fix violations (#3799) --- environment.yml | 2 +- pygmt/encodings.py | 1 - pygmt/helpers/tempfile.py | 1 - pygmt/io.py | 1 - pygmt/src/select.py | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/environment.yml b/environment.yml index 616be8a8318..74fd7bb5da4 100644 --- a/environment.yml +++ b/environment.yml @@ -27,7 +27,7 @@ dependencies: # Dev dependencies (style checks) - codespell - pre-commit - - ruff>=0.9.0 + - ruff>=0.9.6 # Dev dependencies (unit testing) - matplotlib-base - pytest>=6.0 diff --git a/pygmt/encodings.py b/pygmt/encodings.py index 09c749c4c82..0c7b7ddc895 100644 --- a/pygmt/encodings.py +++ b/pygmt/encodings.py @@ -1,4 +1,3 @@ -# noqa: A005 """ Character encodings supported by GMT. diff --git a/pygmt/helpers/tempfile.py b/pygmt/helpers/tempfile.py index 70cc688156a..6995be1db98 100644 --- a/pygmt/helpers/tempfile.py +++ b/pygmt/helpers/tempfile.py @@ -1,4 +1,3 @@ -# noqa: A005 """ Utilities for dealing with temporary file management. """ diff --git a/pygmt/io.py b/pygmt/io.py index a4ba289c7d9..9451de36c8f 100644 --- a/pygmt/io.py +++ b/pygmt/io.py @@ -1,4 +1,3 @@ -# noqa: A005 """ PyGMT input/output (I/O) utilities. """ diff --git a/pygmt/src/select.py b/pygmt/src/select.py index a7db421a210..ecd6d12bfad 100644 --- a/pygmt/src/select.py +++ b/pygmt/src/select.py @@ -1,4 +1,3 @@ -# noqa: A005 """ select - Select data table subsets based on multiple spatial criteria. """