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

Fix SwiftFormat issues #19

Merged

Conversation

pereBohigas
Copy link
Contributor

Hi!

Here are the fixes for (almost all) SwiftFormat issues.

Applying the SwiftFormat suggestions for the issues on SwiftPolyglotCoreTests.swift seems to cause compiler errors. In my opinion, the code there should remain as it is.

Cheers!

@pereBohigas pereBohigas mentioned this pull request May 29, 2024
@roddymunro roddymunro merged commit b52b313 into appdecostudio:v1 May 29, 2024
1 of 2 checks passed
roddymunro added a commit that referenced this pull request Jun 12, 2024
* Add ArgumentParser (#16)

* Add ArgumentParser dependency

* Rename SwiftPolyglotCore struct

* Add RuntimeError

* Rename SwiftPolyglot struct, add ParsableCommand adoption and add RuntimeError usage

* Parse arguments and flag using ArgumentParser and adjust SwiftPolyglotCore initializer's parameters

* Update README

* Rename property

* Format

* Fix command name in help's message

* Add Concurrency (#17)

* Set minimum macOS version to version 10.15 (Catalina)

* Add MissingTranslation struct

* Add concurrency to core functionality

* Adopt AsyncParsableCommand protocol to provide an asynchronous entry point

* Add XCTest extension for testing async throwing expressions

* Add concurrency to tests

* Fix SwiftFormat issues (#19)

* Remove trailing commas

* Fix indentation

* Move inline try to start of expression

* Remove trailing white spaces

* Use opaque generic parameters instead of generic parameters with constraints

* Replace consecutive blank lines with a single blank line

* Disable hoistAwait (#20)

* Fix swiftformat (#21)

* Improve assertions on async throwing expressions (#22)

* Add Equatable adoption for custom error

* Improve custom method for asserting on asynchronous expressions which should run successfully without throwing an error

* Improve custom method for asserting on asynchronous expressions which should throw an error

* Reenable hoistAwait SwiftFormat rule

---------

Co-authored-by: Pere Bohigas <[email protected]>
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