Open jjmortensen opened 1 year ago
Thank you for opening the issue :)
I'm looking into it. I've started a hack using os.path.isabs
but it's too hot to use a desktop computer at the moment so might as well design properly to make all configuration options that use paths better :) This might not be easy to fix generically because the args parsing is generic and we parse cli args with the same function than conf file args. For CLI the point of ref should be the python interpreter dir for config file it's the config file directory. We have an interface for this function with no way to give the relpath afaik. Do you have an opinion on how to tweak the path parser to handle both cases @DanielNoord ?
Bug description
With this in my pylintrc (which is at the root of my git repository):
pylint will only find the words.txt file if I'm launching it from the folder where the pylintrc file is.
Configuration
No response
Command used
Pylint output
Expected behavior
It should find the
words.txt
file also when I'm in a subfolder of the folder where the pylintrc file is.Pylint version
OS / Environment
No response
Additional dependencies
No response