Open vinibiavatti1 opened 1 year ago
Looking at the documentation, I saw that it is proposital to consider toml library as a optional library. To install the library, the documentation suggests to perform pip install pylama[toml]
. The issue can be closed.
Error The library is not reading the project's
pyproject.toml
file. Even running the commandpylama -o pyproject.toml
, the below error occurs: (thanks @alorence for the stacktrace).Cause It happens because the module
config_toml
cannot be imported atconfig
module, due to anImportError
raised when the moduletoml
tried to be imported. For some reason, when installing the librarypip install pylama
, thetoml
library is not being recognized as a required package for the project.Fix (work-arround) We can install toml library manually to fix the problem using the command
pip install toml
.