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

core: fix checkstyle CI #3766

Merged
merged 2 commits into from
May 4, 2023
Merged

core: fix checkstyle CI #3766

merged 2 commits into from
May 4, 2023

Conversation

eckter
Copy link
Contributor

@eckter eckter commented Mar 31, 2023

Checkstyle/spotbugs config did not apply to subprojects, it missed a lot of errors.

This isn't the "good practice" way to share settings between subprojects (see this link), but I couldn't make it work with the proper method.

I also removed the need for docstrings for constructors, as most of the time it's just /** Constructor */. But I didn't remove the ones that were already there.

Actually still a work in progress, because it's a pain to make everything work properly

@eckter eckter requested a review from a team as a code owner March 31, 2023 09:54
@eckter eckter linked an issue Mar 31, 2023 that may be closed by this pull request
flomonster
flomonster previously approved these changes Mar 31, 2023
@eckter eckter force-pushed the ech/fix-checkstyle-ci branch from f5d424e to e4c75a0 Compare March 31, 2023 10:15
@eckter eckter changed the title core: fix checkstyle CI WIP: core: fix checkstyle CI Mar 31, 2023
@Khoyo Khoyo marked this pull request as draft April 5, 2023 09:01
@eckter eckter force-pushed the ech/fix-checkstyle-ci branch from e4c75a0 to af7eb4a Compare May 2, 2023 14:30
eckter added 2 commits May 2, 2023 16:38
Note: this isn't the recommended way to do this,
but I couldn't figure out how to make it work with
the "proper" way to handle subprojects
@eckter eckter force-pushed the ech/fix-checkstyle-ci branch from af7eb4a to 64812dd Compare May 2, 2023 14:38
@codecov
Copy link

codecov bot commented May 2, 2023

Codecov Report

Merging #3766 (64812dd) into dev (5f328ee) will not change coverage.
The diff coverage is 57.14%.

@@            Coverage Diff            @@
##                dev    #3766   +/-   ##
=========================================
  Coverage     69.73%   69.73%           
  Complexity     2036     2036           
=========================================
  Files           442      442           
  Lines         22567    22567           
  Branches       1681     1681           
=========================================
  Hits          15736    15736           
  Misses         6026     6026           
  Partials        805      805           
Flag Coverage Δ
core 79.23% <57.14%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...srd/envelope/part/constraints/SpeedConstraint.java 70.58% <ø> (ø)
...ava/fr/sncf/osrd/envelope_sim/EnvelopeSimPath.java 91.48% <ø> (ø)
...rnal_generated_inputs/RJSElectricalProfileSet.java 100.00% <ø> (ø)
.../railjson/schema/rollingstock/RJSRollingStock.java 100.00% <ø> (ø)
...va/fr/sncf/osrd/standalone_sim/SignalProjection.kt 0.00% <ø> (ø)
...sncf/osrd/signaling/impl/SignalingSimulatorImpl.kt 79.03% <50.00%> (ø)
...im/src/main/java/fr/sncf/osrd/DriverBehaviour.java 100.00% <100.00%> (ø)

@eckter eckter marked this pull request as ready for review May 2, 2023 14:48
@eckter eckter changed the title WIP: core: fix checkstyle CI core: fix checkstyle CI May 2, 2023
@eckter eckter merged commit 9533d2d into dev May 4, 2023
@eckter eckter deleted the ech/fix-checkstyle-ci branch May 4, 2023 07:13
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.

core: subprojects aren't checked for style or spotbugs
3 participants