This commit is contained in:
Jamie Magee 2022-08-17 09:08:33 -07:00 коммит произвёл GitHub
Родитель a66a444f3e
Коммит 368f3c9692
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
25 изменённых файлов: 24 добавлений и 28 удалений

Просмотреть файл

@ -583,10 +583,6 @@ dotnet_diagnostic.SA1500.severity = suggestion
# Single-line comment should be preceded by blank line # Single-line comment should be preceded by blank line
dotnet_diagnostic.SA1515.severity = suggestion dotnet_diagnostic.SA1515.severity = suggestion
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1518.md
# File is required to end with a single newline character
dotnet_diagnostic.SA1518.severity = suggestion
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1600.md # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1600.md
# Elements should be documented # Elements should be documented
dotnet_diagnostic.SA1600.severity = suggestion dotnet_diagnostic.SA1600.severity = suggestion

Просмотреть файл

@ -39,4 +39,4 @@ namespace Microsoft.ComponentDetection.Common
} }
} }
} }
} }

Просмотреть файл

@ -8,4 +8,4 @@
public string Format { get; set; } public string Format { get; set; }
} }
} }

Просмотреть файл

@ -51,4 +51,4 @@ namespace Microsoft.ComponentDetection.Common
return true; return true;
} }
} }
} }

Просмотреть файл

@ -32,4 +32,4 @@ namespace Microsoft.ComponentDetection.Common
return new FileStream(fileName, FileMode.Open, FileAccess.Read); return new FileStream(fileName, FileMode.Open, FileAccess.Read);
} }
} }
} }

Просмотреть файл

@ -14,4 +14,4 @@ namespace Microsoft.ComponentDetection.Common
/// <returns>A FileInfo enumerable that should be iterated over, containing all valid files given the input patterns and directory exclusions.</returns> /// <returns>A FileInfo enumerable that should be iterated over, containing all valid files given the input patterns and directory exclusions.</returns>
IEnumerable<MatchedFile> CreateSafeFileEnumerable(DirectoryInfo directory, IEnumerable<string> searchPatterns, ExcludeDirectoryPredicate directoryExclusionPredicate); IEnumerable<MatchedFile> CreateSafeFileEnumerable(DirectoryInfo directory, IEnumerable<string> searchPatterns, ExcludeDirectoryPredicate directoryExclusionPredicate);
} }
} }

Просмотреть файл

@ -14,4 +14,4 @@ namespace Microsoft.ComponentDetection.Common.Telemetry.Records
public string BaseImageLayerMessage { get; set; } public string BaseImageLayerMessage { get; set; }
} }
} }

Просмотреть файл

@ -6,4 +6,4 @@
Normal = 1, Normal = 1,
Verbose = 2, Verbose = 2,
} }
} }

Просмотреть файл

@ -8,4 +8,4 @@
Medium = 3, Medium = 3,
Low = 4, Low = 4,
} }
} }

Просмотреть файл

@ -15,4 +15,4 @@ namespace Microsoft.ComponentDetection.Contracts
Stream MakeFileStream(string fileName); Stream MakeFileStream(string fileName);
} }
} }

Просмотреть файл

@ -13,4 +13,4 @@ namespace Microsoft.ComponentDetection.Contracts
IObservable<ProcessRequest> GetFilteredComponentStreamObservable(DirectoryInfo root, IEnumerable<string> patterns, IComponentRecorder componentRecorder); IObservable<ProcessRequest> GetFilteredComponentStreamObservable(DirectoryInfo root, IEnumerable<string> patterns, IComponentRecorder componentRecorder);
} }
} }

Просмотреть файл

@ -14,4 +14,4 @@ namespace Microsoft.ComponentDetection.Contracts
public Dictionary<string, string> AdditionalTelemetryDetails { get; set; } public Dictionary<string, string> AdditionalTelemetryDetails { get; set; }
} }
} }

Просмотреть файл

@ -54,4 +54,4 @@ namespace Microsoft.ComponentDetection.Contracts.TypedComponent
[EnumMember] [EnumMember]
DockerReference = 16, DockerReference = 16,
} }
} }

Просмотреть файл

@ -169,4 +169,4 @@ namespace Microsoft.ComponentDetection.Detectors.Npm
|| UnsafeCharactersRegex.IsMatch(name)); || UnsafeCharactersRegex.IsMatch(name));
} }
} }
} }

Просмотреть файл

@ -10,4 +10,4 @@ namespace Microsoft.ComponentDetection.Detectors.Pip
Task<IList<(string, GitComponent)>> ParseFile(string path, string pythonPath = null); Task<IList<(string, GitComponent)>> ParseFile(string path, string pythonPath = null);
} }
} }

Просмотреть файл

@ -12,4 +12,4 @@ namespace Microsoft.ComponentDetection.Detectors.Pip
/// <returns>The root packages, with dependencies associated as children.</returns> /// <returns>The root packages, with dependencies associated as children.</returns>
Task<IList<PipGraphNode>> ResolveRoots(IList<PipDependencySpecification> initialPackages); Task<IList<PipGraphNode>> ResolveRoots(IList<PipDependencySpecification> initialPackages);
} }
} }

Просмотреть файл

@ -5,4 +5,4 @@ namespace Microsoft.ComponentDetection.Detectors.Pip
public class PythonNotFoundException : Exception public class PythonNotFoundException : Exception
{ {
} }
} }

Просмотреть файл

@ -9,4 +9,4 @@ namespace Microsoft.ComponentDetection.Detectors.Pip
{ {
public Dictionary<string, IList<PythonProjectRelease>> Releases { get; set; } public Dictionary<string, IList<PythonProjectRelease>> Releases { get; set; }
} }
} }

Просмотреть файл

@ -17,4 +17,4 @@ namespace Microsoft.ComponentDetection.Detectors.Pip
public Uri Url { get; set; } public Uri Url { get; set; }
} }
} }

Просмотреть файл

@ -12,4 +12,4 @@ namespace Microsoft.ComponentDetection.Detectors.Pip
return xVer.CompareTo(yVer); return xVer.CompareTo(yVer);
} }
} }
} }

Просмотреть файл

@ -137,4 +137,4 @@ namespace Microsoft.ComponentDetection.Detectors.Pip
} }
} }
} }
} }

Просмотреть файл

@ -9,4 +9,4 @@ namespace Microsoft.ComponentDetection.Orchestrator.ArgumentSets
{ {
// TODO: Add option to specify download directory for GH database // TODO: Add option to specify download directory for GH database
} }
} }

Просмотреть файл

@ -25,4 +25,4 @@ namespace Microsoft.ComponentDetection.Orchestrator.Exceptions
{ {
} }
} }
} }

Просмотреть файл

@ -25,4 +25,4 @@ namespace Microsoft.ComponentDetection.Orchestrator.Exceptions
{ {
} }
} }
} }

Просмотреть файл

@ -26,4 +26,4 @@ namespace Microsoft.ComponentDetection.Orchestrator.Exceptions
{ {
} }
} }
} }