Questions tagged [pylama]
6 questions
2
votes
1 answer
How to install Pylama with Poetry?
I want to install Pylama because it has other Linting packages. I'm using Poetry for Package Managment, but I don't know how to do this.
Pylama's documents indicate that if you use pip you have to use pip install pylama[all], but I can't find how to…

Alex Turner
- 698
- 6
- 16
2
votes
1 answer
Too long line in a doctest
I'm writing, in Python, a class that emulates a numeric types. I'd like to have some numerous doctests, as well as to have no pycodestyle warning from pylava.
Here is my difficulty.
For the following doctest
Traceback (most recent call…

MathTolliob
- 51
- 6
1
vote
1 answer
Checking for imports order with pylama
I use autoflake to automatically remove unused imports and variables from my code locally and pylama on Jenkins CI to check the code for multiple things, including unused imports and imported variables (W0611).
Now I would like to introduce isort to…

dzieciou
- 4,049
- 8
- 41
- 85
0
votes
0 answers
How to make pylama complain about single quotes?
Is there a way to make pylama complain about the project using single quotes and recommend to change it to double quotes?
In my project, we use many single quotes and we decided to use double quotes. We have a pylama.ini file in the project and we…

Arthur Ávila
- 69
- 2
- 9
0
votes
1 answer
How to run Pylama only for uncommitted changes (git)
I have been looking to run python linter only for uncommitted changes and not my entire project, Is there a way to run Pylama only for git changes.

Noam Segev
- 51
- 6
0
votes
0 answers
How to set python-mode so linters check for python 3 versus python 2 errors
To All,
How do I set python-mode so the linters check for Python 3 versus Python 2 errors depending on if I am editing a Python 3 or a Python 2 file? After the last update of python-mode, the linters seems to be defaulting to Python 3. For example…

Steve Haymes
- 1
- 2