Skip to content

Conversation

chick
Copy link
Contributor

@chick chick commented Mar 3, 2022

Add .scalafmt support to project
Format all scala files
Update deprecated usage of chiseltest and scalatest

chick added 2 commits March 3, 2022 14:24
Update deprecated chiseltest usage
Update deprecated scalatest usage
@chick chick added this to the 3.5.x milestone Mar 3, 2022
@chick chick requested a review from jackkoenig March 3, 2022 22:47
@chick chick self-assigned this Mar 3, 2022
Copy link
Contributor

@jackkoenig jackkoenig left a comment

Choose a reason for hiding this comment

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

Approved, but should scalafmt also be checked in CI?

@Knight112357
Copy link

I used Mill to build my project, and I tried running the command mill -i __.reformat, but it didn’t seem to format any files. I’m not sure if the source files are being detected correctly.

I also set override def millSourcePath = super.millSourcePath / os.up in my build.mill Could that affect Scalafmt’s behavior?

How can I check which files are being recognized by the formatter? Any suggestions would be appreciated!

@edwardcwang
Copy link
Contributor

Hi @Knight112357 thanks for your interest in Chisel! You might want to start a discussion at https://github.com/chipsalliance/chisel-template/discussions rather than commenting on a 3-year-old issue :)

@Knight112357
Copy link

Hi @edwardcwang thanks for your advice. Please see #138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants