Closed palt0 closed 3 years ago
The enable option of a configuration file isn't loaded. Darglint works as expected if the setting is passed as a command line argument.
enable
To reproduce the problem, lint the file integration_tests/files/missing_arg_type.py with the following configuration file:
integration_tests/files/missing_arg_type.py
[darglint] enable=DAR104
It doesn't raise a DAR104 error as we'd expect.
DAR104
This is a simple fix so I felt that opening an issue for it was unneeded.
I think the CI failure is due to me changing the pyproject.toml for some reason. This looks good, though. Thanks for the change!
The
enable
option of a configuration file isn't loaded. Darglint works as expected if the setting is passed as a command line argument.To reproduce the problem, lint the file
integration_tests/files/missing_arg_type.py
with the following configuration file:It doesn't raise a
DAR104
error as we'd expect.This is a simple fix so I felt that opening an issue for it was unneeded.