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

roundup-tracker / roundup / 24970021618
75%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2026 11:53PM UTC
Jobs 1
Files 118
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

26 Apr 2026 11:26PM UTC coverage: 74.682% (-0.006%) from 74.688%
24970021618

push

github

rouilj
chore(ruff): cleanup indexer_* code after ruff analysis.

indexer_common.py:
  use 'for x, y in adict.items() rather than 'for x in adict' and
    later reference 'adict[x]'.

indexer_dbm.py:

  use 'with open() ... as fd: <stuff>' rather than 'fd =
    open()<stuff>close()'. 4 instances.

  whitespace fixes around operators

  use 'for x, y in adict.items() rather than 'for x in adict' and
    later reference 'adict[x]'.

  replace 'return 0' with 'return' as ruff was reporting function didn't
     have explicit return at end when internal return returned a not
     None value. AFICT load_index's return value is never checked.

  replace 'for _key, value in x.items()' with 'for value in
    x.values()'. _key is never used.


indexer_postgresql_fts.py:

  import sorting.

  symbolic string for server version needed for FTS support.

  rename variable id.

  remove unneeded flow control (else after raise)


indexer_rdbms.py:

  import sorting.

  rename variable id 2 places.

  add variable 'a = self.db.arg' to make scanning SQL code that uses %
    to insert placeholders easier. Also reduces dereferencing.

  replaced 'tuple([list comprehension])' with tuple(same comprehension
    but is a generator)

indexer_sqlite_fts.py:

  import sorting.

  rename variable id.

  remove unneeded flow control (else after raise).

indexer_whoosh.py:

  import sorting.

  remove qparser from whoosh import. Unused andnot needed until we
     implement using whoosh query language in roundup searches.

indexer_xapian.py:

  import sorting.

  rewrite loop that appended to a list as a list comprehension

52 of 54 new or added lines in 7 files covered. (96.3%)

19168 of 25666 relevant lines covered (74.68%)

4.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
89.86
0.15% roundup/backends/indexer_postgresql_fts.py
1
82.86
-0.7% roundup/backends/indexer_xapian.py
Jobs
ID Job ID Ran Files Coverage
1 24970021618.1 26 Apr 2026 11:53PM UTC 118
74.68
GitHub Action Run
Source Files on build 24970021618
  • Tree
  • List 118
  • Changed 7
  • Source Changed 7
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24970021618
  • 0acb9a0b on github
  • Prev Build on master (#24968099427)
  • Next Build on master (#25075727545)
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