Issue

Issue type definitions, categories, priorities, and ignore rules.

The Issue type represents a rule definition (e.g., PYL-E0712). To get issue occurrences in your code, query through repository { issues { ... } } or check { occurrences { ... } }.

Objects

Issue

FieldTypeDescription
idID!The ID of the object.
shortcodeString!Unique identifier for this issue (e.g., PYL-E0712).
titleString!Title of the issue.
analyzerAnalyzer!The analyzer that detects this issue.
autofixAvailableBoolean!Whether Autofix™ is available for this issue.
isRecommendedBoolean!Whether this issue is recommended to be fixed first.
categoryIssueCategory!Category of the issue.
severityIssueSeverity!Severity of the issue.
shortDescriptionString!A short description of the issue.
descriptionStringA detailed description of the issue.
tags[String]!A list of tags associated with the issue.
autofixAiAvailableBoolean!Whether AI-powered autofix is available for this issue.

IssueConnection

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[IssueEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.

IssueEdge

A Relay edge containing an Issue and its cursor.

FieldTypeDescription
nodeIssueThe item at the end of the edge.
cursorString!A cursor for use in pagination.

IssueCategorySetting

Configuration for an IssueCategory in a Repository.

FieldTypeDescription
categoryIssueCategory!An `IssueCategory`.
isReportedBoolean!Whether issues of given category are enabled for reporting in the repository.
canFailCheckBoolean!Whether to fail checks when occurrence(s) of issues of given category are found in the repository.

IssuePrioritySetting

Configuration for an IssuePriorityType in a Repository.

FieldTypeDescription
priorityTypeIssuePriorityType!An IssuePriorityType.
isReportedBoolean!Whether issues of given priority are enabled for reporting in the repository.
canFailCheckBoolean!Whether to fail checks when occurrence(s) of issues of given priority are found in the repository.

IgnoreRule

An IgnoreRule defines the condition on which to suppress an Issue's Occurrences in a Repository.

FieldTypeDescription
idID!The ID of the object.
createdAtDateTime!Time when the ignore rule was created.
levelIgnoreRuleLevel!Ignore level of the rule.
typeIgnoreRuleType!Ignore type of the rule.
issueIssue!The Issue to ignore in the rule.
filePathStringFile path if rule is on FILE level.
globPatternStringGlob pattern if rule is of PATTERN type.

IgnoreRuleConnection

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[IgnoreRuleEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.

IgnoreRuleEdge

A Relay edge containing a IgnoreRule and its cursor.

FieldTypeDescription
nodeIgnoreRuleThe item at the end of the edge.
cursorString!A cursor for use in pagination.

On this page