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

Import SwiftFormat #117

Closed
wants to merge 5 commits into from
Closed

Import SwiftFormat #117

wants to merge 5 commits into from

Conversation

417-72KI
Copy link
Contributor

@417-72KI 417-72KI commented Dec 18, 2020

There are some discussions about formatting (e.g. #116 (comment))

I add SwiftFormat via Mint, and draft configuration.

@417-72KI 417-72KI changed the title import SwiftFormat Import SwiftFormat Dec 18, 2020
.swiftformat Outdated
--exclude Tests/LinuxMain.swift,Package.swift

# format options
--swiftversion 4.2
Copy link
Contributor

Choose a reason for hiding this comment

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

Does 4.0 work here? Our Package.swift specifies 4.0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure but I think it will work.

I tried adding matrix to run with Swift 4.0 on Travis🙂

Copy link
Contributor Author

Choose a reason for hiding this comment

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

CI failed on 4.0 and 4.1.
It seems to be required 4.2 on RequestKit🤔

MaxDesiatov
MaxDesiatov previously approved these changes Dec 18, 2020
Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

It's a very welcome change 👍

The only comment I have is about the Swift version, which is inconsistent with what's specified in Package.swift.

@@ -1,4 +1,4 @@
// swift-tools-version:4.0
// swift-tools-version:4.2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Match to RequestKit

@pietbrauer pietbrauer mentioned this pull request Aug 21, 2021
@pietbrauer
Copy link
Member

Thanks for the config file, @417-72KI. This was too hard to rebase so I made a new branch with GitHub Actions in #130. And sorry this took so long.

@pietbrauer pietbrauer closed this Aug 21, 2021
@417-72KI 417-72KI deleted the swiftformat branch August 21, 2021 15:36
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.

3 participants