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

TheKevJames / coveralls-python / f497c5fd-627e-4a6b-8194-b4eec908744a / 5
94%
master: 97%

Build:
Build:
LAST BUILD BRANCH: renovate/types-pyyaml-6.0.x
DEFAULT BRANCH: master
Ran 20 Jul 2026 05:22PM UTC
Files 8
Run time 1s
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

20 Jul 2026 05:19PM UTC coverage: 94.042% (+0.7%) from 93.299%
f497c5fd-627e-4a6b-8194-b4eec908744a.5

Pull #755

circleci

TheKevJames
refactor(config)!: model resolved configuration as a typed Config

resolve() now returns a typed Config dataclass instead of an untyped dict.
Config separates API payload fields from client-behaviour settings, exposes
to_payload() as the enforced payload boundary and request_timeout as the
resolved (connect, read) tuple, and validates the timeout family at
construction. api.py consumes Config by attribute and is now type-checked.

Unknown keys are handled the same way regardless of source -- config file or
Coveralls() keyword arguments -- dropped with a warning rather than crashing on
an unexpected kwarg. The boolean flags (parallel, skip_ssl_verify) are coerced
so a non-bool config value can't reach the API or a client toggle as a string.

changelog:
Resolved configuration is now a typed ``Config`` object. **Breaking (library
API):** ``Coveralls.config`` is a ``Config`` dataclass rather than a ``dict`` --
read values by attribute (``cover.config.service_name``) instead of by key
(``cover.config["service_name"]``). Unrecognised keys are now ignored with a
warning -- consistently whether they come from ``.coveralls.yml`` or a
``Coveralls()`` keyword argument -- instead of being silently accepted (config
file) or raising a ``TypeError`` (kwargs).
Pull Request #755: refactor(config): model resolved configuration as a typed Config

136 of 146 branches covered (93.15%)

Branch coverage included in aggregate %.

448 of 475 relevant lines covered (94.32%)

0.94 hits per line

Source Files on job f497c5fd-627e-4a6b-8194-b4eec908744a.5
  • Tree
  • List 8
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 0
  • CircleCI Build #
  • 48b3a7db on github
  • Prev Job for on kjames/typed-config (#cadead95-d99c-41df-8396-2a1e07ff52b5.1)
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