Skip to content

Exclude weak_delegate rule from autocorrection#4153

Merged
SimplyDanny merged 3 commits intorealm:mainfrom
SimplyDanny:exclude-weak_delegate-rule-from-autocorrection
Sep 6, 2022
Merged

Exclude weak_delegate rule from autocorrection#4153
SimplyDanny merged 3 commits intorealm:mainfrom
SimplyDanny:exclude-weak_delegate-rule-from-autocorrection

Conversation

@SimplyDanny
Copy link
Copy Markdown
Collaborator

Fixes #3577.

@SwiftLintBot
Copy link
Copy Markdown

SwiftLintBot commented Sep 3, 2022

12 Messages
📖 Linting Aerial with this PR took 0.3s vs 0.3s on main (0% slower)
📖 Linting Alamofire with this PR took 0.31s vs 0.31s on main (0% slower)
📖 Linting Firefox with this PR took 1.27s vs 1.27s on main (0% slower)
📖 Linting Kickstarter with this PR took 1.74s vs 1.74s on main (0% slower)
📖 Linting Moya with this PR took 0.21s vs 0.21s on main (0% slower)
📖 Linting Nimble with this PR took 0.21s vs 0.2s on main (4% slower)
📖 Linting Quick with this PR took 0.14s vs 0.14s on main (0% slower)
📖 Linting Realm with this PR took 1.08s vs 1.1s on main (1% faster)
📖 Linting SourceKitten with this PR took 0.2s vs 0.19s on main (5% slower)
📖 Linting Sourcery with this PR took 0.49s vs 0.5s on main (2% faster)
📖 Linting Swift with this PR took 0.91s vs 0.91s on main (0% slower)
📖 Linting WordPress with this PR took 1.98s vs 1.99s on main (0% faster)

Generated by 🚫 Danger

@SimplyDanny SimplyDanny force-pushed the exclude-weak_delegate-rule-from-autocorrection branch from 0859bcd to d2d3630 Compare September 3, 2022 16:16
@SimplyDanny SimplyDanny force-pushed the exclude-weak_delegate-rule-from-autocorrection branch from d2d3630 to ec61a2a Compare September 5, 2022 20:29
@SimplyDanny
Copy link
Copy Markdown
Collaborator Author

The build does not like me anymore. 😐 The TSan job is always failing with

ERROR: Failed to query remote execution capabilities: UNAUTHENTICATED: no authentication metadata found

Anything I can do about it, @jpsim? It's the same for #4151 and #3989.

@jpsim
Copy link
Copy Markdown
Collaborator

jpsim commented Sep 6, 2022

I wonder if this is because I need to flip a flag in Azure Pipelines to allow external repos to access these credentials 🤔

Looking into it.

@jpsim
Copy link
Copy Markdown
Collaborator

jpsim commented Sep 6, 2022

Just checked this, let's see if that works.

image

@jpsim
Copy link
Copy Markdown
Collaborator

jpsim commented Sep 6, 2022

I give up. I may need to disable the remote cache on Azure Pipelines completely.

@jpsim
Copy link
Copy Markdown
Collaborator

jpsim commented Sep 6, 2022

ok I think it's working now.

@jpsim
Copy link
Copy Markdown
Collaborator

jpsim commented Sep 6, 2022

It appears to only work on new commits.

Copy link
Copy Markdown
Collaborator

@jpsim jpsim left a comment

Choose a reason for hiding this comment

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

Not great, but the rule is flawed to start with.

@SimplyDanny
Copy link
Copy Markdown
Collaborator Author

Not great, but the rule is flawed to start with.

Indeed. Thank you for looking into the build issues!

@SimplyDanny SimplyDanny merged commit e459c4a into realm:main Sep 6, 2022
@SimplyDanny SimplyDanny deleted the exclude-weak_delegate-rule-from-autocorrection branch September 6, 2022 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rule weak_delegate should not autocorrect

3 participants