Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump ktfmt from 0.35 to 0.36 #1183

Merged
merged 4 commits into from
Apr 27, 2022
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 25, 2022

Bumps ktfmt from 0.35 to 0.36.

Release notes

Sourced from ktfmt's releases.

0.36

Style change examples:

Before: (notice as)

   bitmapMemoryCacheParamsSupplier =
        builder.bitmapMemoryCacheParamsSupplier
            ?: DefaultBitmapMemoryCacheParamsSupplier(
                (checkNotNull(builder.context.getSystemService(Context.ACTIVITY_SERVICE)) as
                    ActivityManager))

After:

    bitmapMemoryCacheParamsSupplier =
        builder.bitmapMemoryCacheParamsSupplier
            ?: DefaultBitmapMemoryCacheParamsSupplier(
                (checkNotNull(builder.context.getSystemService(Context.ACTIVITY_SERVICE))
                    as ActivityManager))

Before: (notice imports)

    importCleanUpCandidates =
        importList
            .imports
            .filter { import ->
              import.isValidImport &&
                  !import.isAllUnder &&
                  import.identifier != null &&
                  requireNotNull(import.identifier) !in OPERATORS &&
                  !COMPONENT_OPERATOR_REGEX.matches(import.identifier.orEmpty())
            }
            .toSet()

After:

    importCleanUpCandidates =
        importList.imports
            .filter { import ->
              import.isValidImport &&
                  !import.isAllUnder &&
                  import.identifier != null &&
                  requireNotNull(import.identifier) !in OPERATORS &&
                  !COMPONENT_OPERATOR_REGEX.matches(import.identifier.orEmpty())
            }
            .toSet()

... (truncated)

Commits
  • b143ca7 Bump version to 0.36
  • 8a5af6c Fix a bunch of build warnings (#283)
  • 781eb2f Do not try to make block like syntax for expression with more than 1 lambda
  • 1bebf0b Add trailing break before brace for Google Style (#308)
  • d8bdf97 Try to fix issue with MainTest.file is modified if it is not formatted (#309)
  • edf278c Remove printOps from default test running
  • d82fa63 Removing old prints from TokenizerTest
  • 07d2ac0 Improve handling of as and is when left hand is a call-chain
  • 46129b6 Simplify breakIntoParts a bit
  • 7b1d548 Refactor to in visitQualifiedExpression
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ktfmt](https://github.com/facebookincubator/ktfmt) from 0.35 to 0.36.
- [Release notes](https://github.com/facebookincubator/ktfmt/releases)
- [Commits](facebook/ktfmt@v0.35...v0.36)

---
updated-dependencies:
- dependency-name: com.facebook:ktfmt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Apr 25, 2022
@nedtwigg nedtwigg enabled auto-merge April 27, 2022 19:50
@nedtwigg nedtwigg merged commit 74139fb into main Apr 27, 2022
@nedtwigg nedtwigg deleted the dependabot/gradle/com.facebook-ktfmt-0.36 branch April 27, 2022 20:13
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant