[code-quality] (no subject)
Ian Cordasco
graffatcolmingov at gmail.com
Mon Oct 19 09:13:19 EDT 2015
On Mon, Oct 19, 2015 at 8:09 AM, Luis San Martin <lsanmartinr at gmail.com> wrote:
> Hello,
>
> 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>
> init_checks_registry()
> File "/home/pathcl/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/pep8.py",
> line 1203, in init_checks_registry
> register_check(function)
> 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.
> https://docs.python.org/3.6/whatsnew/3.6.html#removed
Hi Luis,
pep8 has a fix for this in master but it is not a priority to make a
release containing this since Python 3.6 will not be released for
approximately another year and a half. Please check closed issues and
pull requests in the future for this information.
--
Ian
More information about the code-quality
mailing list