Skip to content

Automatically format the code#12023

Merged
diemol merged 3 commits intoSeleniumHQ:trunkfrom
shs96c:format
May 15, 2023
Merged

Automatically format the code#12023
diemol merged 3 commits intoSeleniumHQ:trunkfrom
shs96c:format

Conversation

@shs96c
Copy link
Copy Markdown
Member

@shs96c shs96c commented May 10, 2023

This PR features two diffs that should be landed separately. The first adds a script to reformat code within the project. The second reformats the code.

While this currently only handles Java, the plan is to extend this to handle other languages too.

@titusfortner
Copy link
Copy Markdown
Member

Ruby is already taken care of very nicely with rubocop.

I know @symonk was doing a lot of work with Python, and I think there are some automated tools to address issues, but we weren't ready for them or something. :)

No idea on .NET & JavaScript

shs96c added 2 commits May 12, 2023 16:03
Currently, this only handles Java, but later revisions can
be extended to cover other languages (and the build files)
too.
@diemol diemol merged commit 43eb1e5 into SeleniumHQ:trunk May 15, 2023
@shs96c shs96c deleted the format branch May 18, 2023 10:32
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