Skip to content

Conversation

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 29a8f92 and detected 0 issues on this pull request.

View more on Code Climate.

@codacy-production
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (f55866c) 76 76 100.00%
Head commit (29a8f92) 118 (+42) 118 (+42) 100.00% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#71) 19 19 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

@codecov
Copy link

codecov bot commented Apr 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (f55866c) to head (29a8f92).

Additional details and impacted files
@@ Coverage Diff @@ ## master #71 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 1 1 Lines 28 28 ========================================= Hits 28 28 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

DATABASE_URL = "sqlite:///./data/players-sqlite3.db"

engine = create_engine(DATABASE_URL, connect_args={"check_same_thread": False})
OrmSession = scoped_session(sessionmaker(autocommit=False, autoflush=False, bind=engine))

Check warning

Code scanning / Pylint (reported by Codacy)

Constant name "OrmSession" doesn't conform to UPPER_CASE naming style

Constant name "OrmSession" doesn't conform to UPPER_CASE naming style
OrmSession = sessionmaker(autocommit=False, autoflush=False, bind=engine)
DATABASE_URL = "sqlite:///./data/players-sqlite3.db"

engine = create_engine(DATABASE_URL, connect_args={"check_same_thread": False})

Check warning

Code scanning / Pylint (reported by Codacy)

Constant name "engine" doesn't conform to UPPER_CASE naming style

Constant name "engine" doesn't conform to UPPER_CASE naming style
def get_player_by_id(
player_id: int = Path(..., title="The Id of the Player"),
db_session: Session = Depends(get_db_session)
orm_session: Session = Depends(get_orm_session)

Check warning

Code scanning / Pylint (reported by Codacy)

Wrong hanging indentation before block (add 4 spaces).

Wrong hanging indentation before block (add 4 spaces).
)
def get_players(
db_session: Session = Depends(get_db_session)
orm_session: Session = Depends(get_orm_session)

Check warning

Code scanning / Pylint (reported by Codacy)

Wrong hanging indentation before block (add 4 spaces).

Wrong hanging indentation before block (add 4 spaces).
def get_player_by_squad_number(
squad_number: int = Path(..., title="The Squad Number of the Player"),
db_session: Session = Depends(get_db_session)
orm_session: Session = Depends(get_orm_session)

Check warning

Code scanning / Pylint (reported by Codacy)

Wrong hanging indentation before block (add 4 spaces).

Wrong hanging indentation before block (add 4 spaces).
@nanotaboada nanotaboada merged commit 2816800 into master Apr 7, 2024
@nanotaboada nanotaboada deleted the feature/database branch April 7, 2024 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants