Skip to content

Remove the dependency on Python.NET #100

Remove the dependency on Python.NET

Remove the dependency on Python.NET #100

Triggered via pull request August 12, 2024 06:46
Status Success
Total duration 39s
Artifacts 1

dotnet-publish-ci.yml

on: pull_request
publish-github-packages
30s
publish-github-packages
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
publish-github-packages: src/CSnakes/Parser/PythonParser.Function.cs#L15
Possible null reference return.
publish-github-packages: src/CSnakes/Parser/PythonParser.Function.cs#L16
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
publish-github-packages: src/CSnakes/Parser/PythonParser.Parameters.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
publish-github-packages: src/CSnakes/Parser/PythonParser.TypeDef.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?[]> Combinators.ManyDelimitedBy<PythonToken, PythonTypeSpec?, Token<PythonToken>>(TokenListParser<PythonToken, PythonTypeSpec?> parser, TokenListParser<PythonToken, Token<PythonToken>> delimiter, TokenListParser<PythonToken, Token<PythonToken>>? end = null)'.
publish-github-packages: src/CSnakes/Parser/PythonParser.TypeDef.cs#L10
Argument of type 'TokenListParser<PythonToken, PythonTypeSpec?[]>' cannot be used for parameter 'parser' of type 'TokenListParser<PythonToken, PythonTypeSpec?[]?>' in 'TokenListParser<PythonToken, PythonTypeSpec?[]?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?[]?>(TokenListParser<PythonToken, PythonTypeSpec?[]?> parser, PythonTypeSpec?[]? defaultValue = null)' due to differences in the nullability of reference types.
publish-github-packages: src/CSnakes.Runtime/Locators/SourceLocator.cs#L5
Parameter 'string version' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
publish-github-packages: src/CSnakes.Runtime/Python/PyObject.cs#L177
Converting null literal or possible null value to non-nullable type.
publish-github-packages: src/CSnakes.Runtime/Python/PyObject.cs#L177
Possible null reference return.
publish-github-packages: src/CSnakes.Runtime/PyObjectTypeConverter.cs#L208
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
publish-github-packages: src/CSnakes.Runtime/PyObjectTypeConverter.cs#L246
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.

Artifacts

Produced during runtime
Name Size
nuget-packages Expired
318 KB