Browse Source

Merge branch 'master' of github.com:Kozea/pygal

pull/58/head
Florian Mounier 12 years ago
parent
commit
71af33d835
  1. 4
      pygal_gen.py
  2. 1
      tox.ini

4
pygal_gen.py

@ -49,9 +49,7 @@ for key, val in pygal.config.Config.__dict__.items():
if val: if val:
opt_name = 'no-' + opt_name opt_name = 'no-' + opt_name
if key == 'interpolate': if key == 'interpolate':
opts['choices'] = [ opts['choices'] = ['quadratic', 'cubic']
'linear', 'nearest', 'zero', 'slinear', 'quadratic',
'cubic', 'krogh', 'barycentric', 'univariate']
parser.add_argument( parser.add_argument(
'--%s' % opt_name, dest=key, default=val, **opts) '--%s' % opt_name, dest=key, default=val, **opts)

1
tox.ini

@ -2,6 +2,7 @@
envlist = py26,py27,py32,py33 envlist = py26,py27,py32,py33
[testenv] [testenv]
sitepackages=True
deps = deps =
pytest pytest
pytest-cov pytest-cov

Loading…
Cancel
Save