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

pyscaffold / configupdater / 39136366533
98%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/clear-detaches-all-blocks
DEFAULT BRANCH: master
Ran 18 Oct 2026 02:31PM UTC
Jobs 15
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Oct 2026 02:31PM UTC coverage: 98.483% (+0.01%) from 98.471%
39136366533

push

github

web-flow
Write update_file with the encoding the file was read with (#165)

* Write update_file with the encoding the file was read with

`ConfigUpdater.read(filename, encoding=...)` remembered only the filename,
so `update_file()` wrote with the platform's default encoding and
silently re-encoded e.g. latin-1 files (to the locale encoding, or to
UTF-8 from Python 3.15 on, PEP 686). `read` now remembers the encoding
and `read_file` takes it from `f.encoding` together with `f.name`;
`read_string` keeps the file and encoding of a previous read, as it
already kept the file.

Like `configparser.RawConfigParser.read`, `ConfigUpdater.read` and
`Parser.read` resolve the encoding with `io.text_encoding`, so with
`-X warn_default_encoding` the `EncodingWarning` points to the caller
(PEP 597). `update_file` does the same for files without a known
encoding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Reference PR #165 in the changelog

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

8 of 8 new or added lines in 2 files covered. (100.0%)

844 of 857 relevant lines covered (98.48%)

14.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macos-latest-py3.14 - 39136366533.1 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
2 ubuntu-latest-py3.15 - 39136366533.2 18 Oct 2026 02:31PM UTC 9
98.48
GitHub Action Run
3 macos-latest-py3.15 - 39136366533.3 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
4 ubuntu-latest-py3.12 - 39136366533.4 18 Oct 2026 02:31PM UTC 9
98.48
GitHub Action Run
5 macos-latest-py3.11 - 39136366533.5 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
6 windows-latest-py3.13 - 39136366533.6 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
7 ubuntu-latest-py3.13 - 39136366533.7 18 Oct 2026 02:31PM UTC 9
98.48
GitHub Action Run
8 macos-latest-py3.12 - 39136366533.8 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
9 ubuntu-latest-py3.14 - 39136366533.9 18 Oct 2026 02:31PM UTC 9
98.48
GitHub Action Run
10 windows-latest-py3.14 - 39136366533.10 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
11 ubuntu-latest-py3.11 - 39136366533.11 18 Oct 2026 02:31PM UTC 9
98.48
GitHub Action Run
12 windows-latest-py3.11 - 39136366533.12 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
13 windows-latest-py3.12 - 39136366533.13 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
14 windows-latest-py3.15 - 39136366533.14 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
15 macos-latest-py3.13 - 39136366533.15 18 Oct 2026 02:32PM UTC 9
98.48
GitHub Action Run
Source Files on build 39136366533
  • Tree
  • List 9
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39136366533
  • 3a42ec74 on github
  • Prev Build on v4.0 (#39135989750)
  • Next Build on v4.0 (#39136451041)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc