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

OmegaK2 / PyPoE / 106
41%

Build:
DEFAULT BRANCH: dev
Ran 28 Jul 2017 02:51PM UTC
Jobs 1
Files 74
Run time 4s
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

pending completion
106

push

travis-ci

OmegaK2
MAJOR: dat specification has been reworked in python

Dat specification now resides as python file instead of config file. This has the advantage that python features and codes might be used directly when parsing/using this and it reduces a large overhead (config parsing started to take upwards to a second when reloading configs, now it's much faster).

The structure of the specification is mostly the same, except that several subfields are now replaced by classes for the cases where they only have specific values; this means static attributes can now by accessed without the x['x'] syntax.

Example:
>>specification['Mods.dat'].fields['Id'].type
'ref|string'

The classes also support a as_dict() method that converts them into pure dictionary for the purpose of exporting it to json (i.e. with the json exporter or otherwise)

The specification code now resides in it's own section and was primarily moved out of mods dat. Loading of custom or default specification files can be done with PyPoE.poe.file.specification.load, setting the default specification for the dat resides in PyPoE.poe.dat.set_default_specification

185 of 185 new or added lines in 13 files covered. (100.0%)

2574 of 6369 relevant lines covered (40.41%)

0.4 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
PyPoE/cli/exporter/wiki/parser.py
1
100.0
PyPoE/poe/file/specification/__init__.py
1
100.0
PyPoE/poe/file/specification/errors.py
1
100.0
PyPoE/ui/ggpk_viewer/core.py
1
100.0
PyPoE/ui/ggpk_viewer/menu.py
3
100.0
PyPoE/cli/exporter/dat/handler.py
3
100.0
PyPoE/cli/exporter/dat/parsers/json.py
4
100.0
PyPoE/poe/file/specification/data/alpha.py
4
100.0
PyPoE/poe/file/specification/data/beta.py
10
100.0
PyPoE/poe/file/specification/fields.py

Uncovered Existing Lines

Lines Coverage ∆ File
42
100.0
PyPoE/poe/file/dat.py
Jobs
ID Job ID Ran Files Coverage
1 106.1 28 Jul 2017 02:51PM UTC 0
40.41
Travis Job 106.1
Source Files on build 106
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #106
  • b7bc4459 on github
  • Prev Build on dev (#105)
  • Next Build on dev (#107)
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