8000 Bring scalafix into root project/process by swoogles · Pull Request #6045 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bring scalafix into root project/process #6045

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

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

swoogles
Copy link
Contributor
@swoogles swoogles commented Nov 15, 2021

In addition to Scalafix running in the CI process, now we can edit files in the Scalafix project with navigation, integrated test running, etc. from the top-level ZIO project. Previously, you needed to open a separate editor in the scalafix directory.

ScalaFixTestsInIDE

@swoogles swoogles force-pushed the series/2.x_add_scalafix_to_CI branch from 0471006 to ee71b41 Compare November 15, 2021 21:13
@swoogles swoogles force-pushed the series/2.x_add_scalafix_to_CI branch from ee71b41 to abf26cd Compare November 15, 2021 21:22
@swoogles swoogles changed the title WIP: Bring scalafix into root project/process Bring scalafix into root project/process Nov 15, 2021
@@ -13,7 +13,7 @@ class CurriedAssert extends SemanticRule("CurriedAssert") {
override def fix(implicit doc: SemanticDocument): Patch =
doc.tree.collect {
case t @ assert(Term.Apply(name, List(value, assertion))) =>
Patch.replaceTree(t, name + "(" + value + ")(" + assertion + ")")
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 has been a warning for a long time, but now that it's part of the full build, we have to fix it to keep things passing.

@adamgfraser adamgfraser merged commit 234b915 into zio:series/2.x Nov 16, 2021
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.

2 participants
0