Skip to content

Conversation

@kryllyxofficial01
Copy link
Contributor

@kryllyxofficial01 kryllyxofficial01 commented Jan 18, 2022

No description provided.

theblindbandet and others added 4 commits January 15, 2022 13:25
I don't actually really know what the actual specs of the shooter are.
This was mostly made as a tutorial to git for the rest of the SPEC team.
import com.ctre.phoenix.motorcontrol.NeutralMode;
import com.ctre.phoenix.motorcontrol.can.TalonFX;

import frc.robot.logging.Loggable;

Choose a reason for hiding this comment

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

Extra separation in import group before 'frc.robot.logging.Loggable'


public class Shooter implements Loggable {
TalonFX shooterMotor;
public Shooter(TalonFX s) {

Choose a reason for hiding this comment

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

'CTOR_DEF' should be separated from previous statement.


public class Shooter implements Loggable {
TalonFX shooterMotor;
public Shooter(TalonFX s) {

Choose a reason for hiding this comment

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

Parameter name 's' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.


public class Shooter implements Loggable {
TalonFX shooterMotor;
public Shooter(TalonFX s) {

Choose a reason for hiding this comment

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

'CTOR_DEF' should be separated from previous line.

@codecov-commenter
Copy link

codecov-commenter commented Jan 29, 2022

Codecov Report

Merging #4 (1a46ce6) into master (cee37a9) will decrease coverage by 0.95%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #4      +/-   ##
============================================
- Coverage     17.78%   16.83%   -0.96%     
  Complexity       17       17              
============================================
  Files            13       14       +1     
  Lines           371      392      +21     
  Branches         25       27       +2     
============================================
  Hits             66       66              
- Misses          305      326      +21     
Impacted Files Coverage Δ
src/main/java/frc/robot/Robot.java 0.00% <0.00%> (ø)
src/main/java/frc/robot/Shooter.java 0.00% <0.00%> (ø)

Impacted file tree graph

import com.ctre.phoenix.motorcontrol.NeutralMode;
import com.ctre.phoenix.motorcontrol.can.TalonFX;

import frc.robot.logging.Loggable;

Choose a reason for hiding this comment

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

Import statement for 'frc.robot.logging.Loggable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line.

import com.ctre.phoenix.motorcontrol.can.TalonFX;

import frc.robot.logging.Loggable;
import frc.robot.logging.Logger;

Choose a reason for hiding this comment

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

Import statement for 'frc.robot.logging.Logger' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line.


public class Shooter implements Loggable {
TalonFX shooterMotor;
public Shooter(int shooterID) {

Choose a reason for hiding this comment

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

'CTOR_DEF' should be separated from previous statement.

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 1a46ce6 and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1
Style 1

The test coverage on the diff in this pull request is 0.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 16.8% (-0.8% change).

View more on Code Climate.

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.

7 participants