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

malthe / chameleon
87%
master: 92%

Build:
Build:
LAST BUILD BRANCH: issue-441-fast-translate-hashable
DEFAULT BRANCH: master
Repo Added 06 Jan 2023 08:40AM UTC
Token 0saIvK45JiIg8fHV5mc9u3SemIyftvlVn regen
Build 316 Last
Files 33
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

LAST BUILD ON BRANCH issue-381-boolean-attributes
branch: issue-381-boolean-attributes
CHANGE BRANCH
x
Reset
Sync Branches
  • issue-381-boolean-attributes
  • 4.0.1
  • 4.1.0
  • 4.2.0
  • 4.3.0
  • 4.4.0
  • 4.4.1
  • 4.4.2
  • 4.4.3
  • 4.4.4
  • 4.5.0
  • 4.5.1
  • 4.5.2
  • 4.5.3
  • 4.5.4
  • 4.6.0
  • 4.x
  • absolute-import-testing
  • ast-codegen-cleanup
  • ast-deprecations
  • bugs/376-formatspec
  • build-packages
  • config-with-pure-python-template-4b4a863e
  • config-with-pure-python-template-b3b57d0b
  • config-with-pure-python-template-be6f442a
  • fix-lineno
  • fix-os-config
  • fix-pypy
  • fix-typos
  • issue-369-target-language-issues
  • issue-385-auto-boolean-attributes
  • issue-389-dict-like-scope
  • issue-402-posix-path
  • issue-411-default-extension-regression
  • issue-414-import-order
  • issue-419
  • issue-422-interpolation-multiple-escape
  • issue-441-fast-translate-hashable
  • lint-fixes
  • master
  • minor-type-improvements
  • mypy
  • patch-1
  • pep-625-compat
  • pkg_resources
  • pkgdigest
  • pytest
  • python-37
  • refactor-package-tests
  • remove-zope-interface
  • test-ecosystem
  • test-windows
  • translate-msgid-check-optimization
  • windows-py3.13
  • zipped-templates

29 Aug 2023 08:17AM UTC coverage: 87.062% (+0.1%) from 86.96%
6009710511

Pull #382

github

malthe
Fix behavior of boolean attributes

1. For a boolean attribute, if an $-expression evaluates to a false value (i.e., "not <expression>"), no text is omitted.
2. If the attribute value is the empty string, the attribute name is printed, otherwise the attribute is dropped.
3. Dynamic attributes are easier, because they're not using interpolation.
Pull Request #382: Boolean attributes ($-expression and dynamic)

1015 of 1268 branches covered (0.0%)

Branch coverage included in aggregate %.

22 of 22 new or added lines in 3 files covered. (100.0%)

4025 of 4521 relevant lines covered (89.03%)

0.89 hits per line

Relevant lines Covered
Build:
Build:
4521 RELEVANT LINES 4025 COVERED LINES
0.89 HITS PER LINE
Source Files on issue-381-boolean-attributes
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
6009710511 issue-381-boolean-attributes Fix behavior of boolean attributes 1. For a boolean attribute, if an $-expression evaluates to a false value (i.e., "not <expression>"), no text is omitted. 2. If the attribute value is the empty string, the attribute name is printed, otherwise t... Pull #382 29 Aug 2023 08:19AM UTC malthe github
87.06
6009680258 issue-381-boolean-attributes Fix behavior of boolean attributes 1. For a boolean attribute, if an $-expression evaluates to a false value (i.e., "not <expression>"), no text is omitted. 2. If the attribute value is the empty string, the attribute name is printed, otherwise t... Pull #382 29 Aug 2023 08:16AM UTC malthe github
87.06
6009653922 issue-381-boolean-attributes Fix behavior of boolean attributes Pull #382 29 Aug 2023 08:13AM UTC Malthe Borch github
87.06
5999104967 issue-381-boolean-attributes Fix behavior of boolean attributes Pull #382 28 Aug 2023 11:14AM UTC malthe github
87.0
5999069334 issue-381-boolean-attributes Fix behavior of boolean attributes push 28 Aug 2023 11:10AM UTC Malthe Borch github
87.0
See All Builds (262)

Badge your Repo: chameleon

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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