• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / sedpack / 18531774304

15 Oct 2025 02:09PM UTC coverage: 88.825%. Remained the same
18531774304

push

github

web-flow
Silence pylint warning of __version__ (#253)

Also remove runners no longer supported by GitHub.

1 of 2 new or added lines in 1 file covered. (50.0%)

2941 of 3311 relevant lines covered (88.83%)

0.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/src/sedpack/__init__.py
1
# Copyright 2023 Google LLC
2
#
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
# you may not use this file except in compliance with the License.
5
# You may obtain a copy of the License at
6
#
7
#     https://www.apache.org/licenses/LICENSE-2.0
8
#
9
# Unless required by applicable law or agreed to in writing, software
10
# distributed under the License is distributed on an "AS IS" BASIS,
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
"""Dataset library.
15

16
Version format: MAJOR.MINOR.PATCH (see https://pypi.org/project/semver/ for
17
more possibilities).
18
"""
19

20
from importlib.metadata import version, PackageNotFoundError
1✔
21

22
# The version of this package is defined by rust/Cargo.toml and dynamically
23
# deduced by Maturin (see
24
# https://www.maturin.rs/metadata.html#dynamic-metadata). To ensure
25
# compatibility with existing code we dynamically set the __version__ attribute
26
# here.
27
try:
1✔
28
    # When package is installed use the version.
29
    __version__ = version("sedpack")  # pylint: disable=invalid-name
1✔
30
except PackageNotFoundError:
×
31
    # Package is not installed. The Rust part of this package is probably not
32
    # going to work in this case (the Rust binding would be probably missing).
NEW
33
    __version__ = "0.0.7-dev"  # pylint: disable=invalid-name
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc