Skip to content
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

Rubocop thread safety class and module attributes #7967

Merged
merged 0 commits into from
Sep 27, 2021

Conversation

thilton-oddball
Copy link
Contributor

Description of change

This PR corrects multiple ThreadSafety/ClassAndModuleAttributes offenses caught by Rubocop. Some are inline disabled where the use of class attributes was legitimate.

Original issue(s)

department-of-veterans-affairs/va.gov-team#29091

@va-vfs-bot va-vfs-bot temporarily deployed to tjh-rubocop-thread-safety-attributes/master/master September 22, 2021 20:48 Inactive
@thilton-oddball thilton-oddball marked this pull request as ready for review September 23, 2021 14:47
@thilton-oddball thilton-oddball requested review from a team as code owners September 23, 2021 14:47
@@ -14,8 +14,6 @@ class << self
include SentryLogging
include StatusMessages

attr_accessor :consecutive_signature_failures
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was removed since it is not used anywhere.

Copy link
Contributor

@bramleyjl bramleyjl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thilton-oddball thilton-oddball merged commit fbeb319 into master Sep 27, 2021
@thilton-oddball thilton-oddball deleted the tjh-rubocop-thread-safety-attributes branch September 27, 2021 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants