from .async import check_async ^ SyntaxError: invalid syntax
Traceback (most recent call last): File "C:\Users\AlcidesNeto.atom\packages\linter-pylama\bin\pylama.py", line 12, in from pylama.main import shell File "C:\Users\AlcidesNeto.atom\packages\linter-pylama\bin\pylama\main.py", line 10 from .async import check_async ^ SyntaxError: invalid syntax
Do you use Python >= 3.7?
I have this issue as well, and my python version is 3.7.1 .
Works fine after reverting back to Python 3.6
As of python 3.7, async became a reserved keyword, more info here.
Issue is the relative import of bin/pylama/async.py in bin/pylama/main.py. The easy fix would be to rename async.py to something else and updating the import statement in main.py. Perhaps async_worker.py?
Have same issue, using Python 3.7.1
I fixed the problem by installing pylava and using it as external option, as discussed in #100.
Same issue with Python 3.7.3
This issue is caused by the bundled version of pylama being quite out of date.
You can either:
- Follow #112 for updates on getting the bundled version of
pylamato work with Python 3.7+ - Go into the settings and change to using the "External" version of
pylama, making sure that you have installed it on your system of course
I personally use the second option as you aren't tied down to the out of date bundled version.
Second option is way better! thanks @Arcanemagus
Folks before changing pylama settings to "External". Go to cmd and pip install pylama.
Ciao!
it works

with Python 3.10.0 works.