[code-quality] (no subject)

Luis San Martin lsanmartinr at gmail.com
Mon Oct 19 09:09:55 EDT 2015


I've tried pep8 and flake8 on python 3.6.0a0 though both will not work.

pathcl at sid:~/src$ flake8
Traceback (most recent call last):
  File "/home/pathcl/.pyenv/versions/3.6-dev/bin/flake8", line 7, in <module>
    from flake8.main import main
  File "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/flake8/main.py",
line 8, in <module>
    from flake8.engine import get_parser, get_style_guide
  File "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/flake8/engine.py",
line 6, in <module>
    import pep8
  File "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/pep8.py",
line 1204, in <module>
  File "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/pep8.py",
line 1203, in init_checks_registry
  File "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/pep8.py",
line 1186, in register_check
    args = inspect.getargspec(check)[0]
AttributeError: module 'inspect' has no attribute 'getargspec'

it seems getargspec is going to be deprecated.

Kind regards

Luis San Martin R. User #333411 linuxcounter.net

More information about the code-quality mailing list