-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create directory #85
Comments
Firstly, this error is relevant only if you're intending to use python3 with the pylint style checker. If not, you can safely ignore it. If you do wish to use pyint ... I'd like to confirm that the pylint options were correctly set up during the install. What's the output from the command
? |
cat /etc/pylintrc A comma-separated list of package or module names from where C extensions maybe loaded. Extensions are loading into the active Python interpreter and mayrun arbitrary code.extension-pkg-allow-list= A comma-separated list of package or module names from where C extensions maybe loaded. Extensions are loading into the active Python interpreter and mayrun arbitrary code. (This is an alternative name to extension-pkg-allow-listfor backward compatibility.)extension-pkg-whitelist= Return non-zero exit code if any of these messages/categories are detected,even if score is above --fail-under value. Syntax same as enable. Messagesspecified are enabled, while categories only check already-enabled messages.fail-on= Specify a score threshold to be exceeded before program exits with error.fail-under=10.0 Files or directories to be skipped. They should be base names, not paths.ignore=CVS Add files or directories matching the regex patterns to the ignore-list. Theregex matches against paths.ignore-paths= Files or directories matching the regex patterns are skipped. The regexmatches against base names, not paths.ignore-patterns= Python code to execute, usually for sys.path manipulation such aspygtk.require().#init-hook= Use multiple processes to speed up Pylint. Specifying 0 will auto-detect thenumber of processors available to use.jobs=1 Control the amount of potential inferred values when inferring a singleobject. This can help the performance when dealing with large functions orcomplex, nested conditions.limit-inference-results=100 List of plugins (as comma separated values of python module names) to load,usually to register additional checkers.load-plugins= Pickle collected data for later comparisons.persistent=yes When enabled, pylint would attempt to guess common misconfiguration and emituser-friendly hints instead of false-positive error messages.suggestion-mode=yes Allow loading of arbitrary C extensions. Extensions are imported into theactive Python interpreter and may run arbitrary code.unsafe-load-any-extension=no [MESSAGES CONTROL] Only show warnings with the listed confidence levels. Leave empty to showall. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED.confidence= Disable the message, report, category or checker with the given id(s). Youcan either give multiple identifiers separated by comma (,) or put thisoption multiple times (only on the command line, not in the configurationfile where it should appear only once). You can also use "--disable=all" todisable everything first and then reenable specific checks. For example, ifyou want to run only the similarities checker, you can use "--disable=all--enable=similarities". If you want to run only the classes checker, but haveno Warning level messages displayed, use "--disable=all --enable=classes--disable=W".disable=print-statement, Enable the message, report, category or checker with the given id(s). You caneither give multiple identifier separated by comma (,) or put this optionmultiple time (only on the command line, not in the configuration file whereit should appear only once). See also the "--disable" option for examples.enable=c-extension-no-member [REPORTS] Python expression which should return a score less than or equal to 10. Youhave access to the variables 'error', 'warning', 'refactor', and 'convention'which contain the number of messages in each category, as well as 'statement'which is the total number of statements analyzed. This score is used by theglobal evaluation report (RP0004).evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) Template used to display messages. This is a python new-style format stringused to format the message information. See doc for all details.#msg-template= Set the output format. Available formats are text, parseable, colorized, jsonand msvs (visual studio). You can also give a reporter class, e.g.mypackage.mymodule.MyReporterClass.output-format=text Tells whether to display a full report or only the messages.reports=no Activate the evaluation score.score=no [REFACTORING] Maximum number of nested blocks for function / method bodymax-nested-blocks=5 Complete name of functions that never returns. When checking forinconsistent-return-statements if a never returning function is called thenit will be considered as an explicit return statement and no message will beprinted.never-returning-functions=sys.exit,argparse.parse_error [MISCELLANEOUS] List of note tags to take in consideration, separated by a comma.notes=FIXME, Regular expression of note tags to take in consideration.#notes-rgx= [STRING] This flag controls whether inconsistent-quotes generates a warning when thecharacter used as a quote delimiter is used inconsistently within a module.check-quote-consistency=no This flag controls whether the implicit-str-concat should generate a warningon implicit string concatenation in sequences defined over several lines.check-str-concat-over-line-jumps=no [TYPECHECK] List of decorators that produce context managers, such ascontextlib.contextmanager. Add to this list to register other decorators thatproduce valid context managers.contextmanager-decorators=contextlib.contextmanager List of members which are set dynamically and missed by pylint inferencesystem, and so shouldn't trigger E1101 when accessed. Python regularexpressions are accepted.generated-members= Tells whether missing members accessed in mixin class should be ignored. Amixin class is detected if its name ends with "mixin" (case insensitive).ignore-mixin-members=yes Tells whether to warn about missing members when the owner of the attributeis inferred to be None.ignore-none=yes This flag controls whether pylint should warn about no-member and similarchecks whenever an opaque object is returned when inferring. The inferencecan return multiple potential results while evaluating a Python object, butsome branches might not be evaluated, which results in partial inference. Inthat case, it might be useful to still emit no-member and other checks forthe rest of the inferred objects.ignore-on-opaque-inference=yes List of class names for which member attributes should not be checked (usefulfor classes with dynamically set attributes). This supports the use ofqualified names.ignored-classes=optparse.Values,thread._local,_thread._local List of module names for which member attributes should not be checked(useful for modules/projects where namespaces are manipulated during runtimeand thus existing member attributes cannot be deduced by static analysis). Itsupports qualified module names, as well as Unix pattern matching.ignored-modules= Show a hint with possible names when a member name was not found. The aspectof finding the hint is based on edit distance.missing-member-hint=yes The minimum edit distance a name should have in order to be considered asimilar match for a missing member name.missing-member-hint-distance=1 The total number of similar names that should be taken in consideration whenshowing a hint for a missing member.missing-member-max-choices=1 List of decorators that change the signature of a decorated function.signature-mutators= [SIMILARITIES] Comments are removed from the similarity computationignore-comments=yes Docstrings are removed from the similarity computationignore-docstrings=yes Imports are removed from the similarity computationignore-imports=no Signatures are removed from the similarity computationignore-signatures=no Minimum lines number of a similarity.min-similarity-lines=4 [LOGGING] The type of string formatting that logging methods do.
|
There was a bug in pylint 2.10 relating to the cache directory. See pylint-dev/pylint#4900. What's the output from pylint --version ? And you do realise that this is only relevant if you want to use pylint for style checking python, right? We're actually switching to use ruff instead, so you could also consider that option. |
i followed all instruction i get one of the tests fail. all other tests pass but this.
Testing use of runargs args with Python3 OK
Python3 program with customised timeout OK
Python3 program with support files OK
***************** FAILED TEST ******************
{'run_id': None, 'outcome': 15, 'cmpinfo': '', 'stdout': 'Unable to create directory /home/jobe/runs/jobe_UsogWt/Home/.cache/pylint\n', 'stderr': ''}
Valid Python3/pylint program
Jobe result: Successful run
Output:
Unable to create directory /home/jobe/runs/jobe_UsogWt/Home/.cache/pylint
Invalid Python3/pylint program OK
UTF-8 output from Python3 (will fail unless Jobe set up for UTF-8) OK
Test good C hello world OK
Test compile error C hello world OK
Test use of compileargs with C OK
Test runtime error C hello world OK
Test timelimit on C OK
Test outputlimit on C OK
The text was updated successfully, but these errors were encountered: