Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions eccodes/eccodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@
from gribapi import GRIB_NEAREST_SAME_DATA as CODES_GRIB_NEAREST_SAME_DATA
from gribapi import GRIB_NEAREST_SAME_GRID as CODES_GRIB_NEAREST_SAME_GRID
from gribapi import GRIB_NEAREST_SAME_POINT as CODES_GRIB_NEAREST_SAME_POINT
from gribapi import (
__version__,
)
from gribapi import __version__
from gribapi import any_new_from_file as codes_any_new_from_file
from gribapi import (
bindings_version,
)
from gribapi import bindings_version
from gribapi import bufr_new_from_file as codes_bufr_new_from_file
from gribapi import (
codes_any_new_from_samples,
Expand Down
2 changes: 1 addition & 1 deletion eccodes/highlevel/_bufr/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
from numpy.ma import MaskedArray # noqa
from numpy.typing import DTypeLike, NDArray # noqa

from eccodes.eccodes import KeyValueNotFoundError as NotFoundError
from eccodes.eccodes import * # noqa
from eccodes.eccodes import KeyValueNotFoundError as NotFoundError

from .tables import Element

Expand Down
2 changes: 1 addition & 1 deletion gribapi/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import cffi

__version__ = "2.48.0"
__version__ = "2.49.0"

LOG = logging.getLogger(__name__)

Expand Down
12 changes: 12 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Ruff configuration for eccodes-python.
#
# `select` pins the rule set to pyflakes plus the pycodestyle error subset
# (Ruff's own default before 0.16), which mirrors what the existing flake8
# setup in tox.ini enforces. Ruff 0.16 widened its defaults to a much larger
# curated set; adopting those would require rewriting a large part of the code
# base, so opt in explicitly instead of inheriting whatever a given Ruff
# release defaults to.
target-version = "py39"

[lint]
select = ["E4", "E7", "E9", "F"]
2 changes: 1 addition & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ GIT_ECBUILD=https://github.com/ecmwf/ecbuild.git
ECBUILD_VERSION=master

GIT_ECCODES=https://github.com/ecmwf/eccodes.git
ECCODES_VERSION=2.48.0
ECCODES_VERSION=2.49.0
ECCODES_COMMON_CMAKE_OPTIONS="-DENABLE_PNG=1 -DENABLE_JPG=1 -DENABLE_NETCDF=0 -DENABLE_EXAMPLES=0"

GIT_AEC=https://github.com/MathisRosenhauer/libaec.git
Expand Down
Loading