Skip to content

Commit

Permalink
Add inline linter ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy-1000 committed Feb 21, 2024
1 parent ce603aa commit 5ed70ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ async def get_current_parameter_names(ttl_hash=None):
"""

@lru_cache(maxsize=1)
async def async_helper(ttl_hash):
del ttl_hash # make linter think we used this value
async def async_helper(ttl_hash): # pylint: disable=unused-arguement
unique_parameter_names = dstore.GetTSAGRequest(attrs=["parameter_name"])
unique_parameter_names = await grpc_request.getTSAGRequest(unique_parameter_names)

Expand Down

1 comment on commit 5ed70ca

@github-actions
Copy link

Choose a reason for hiding this comment

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

API Unit Test Coverage Report
FileStmtsMissCoverMissing
\_\_init\_\_.py00100% 
datastore_pb2.py584621%24–69
datastore_pb2_grpc.py431956%85–87, 92–94, 99–101, 106–108, 112–136, 174, 191, 208, 225
dependencies.py491863%19, 29–30, 37, 44, 55, 65–72, 80–87
grpc_getter.py13469%22–23, 26–27
locustfile.py15150%1–31
main.py22386%27, 37, 47
metadata_endpoints.py19479%17, 34–67, 71
formatters
   \_\_init\_\_.py70100% 
   covjson.py46687%58, 65–69, 73–76
routers
   \_\_init\_\_.py00100% 
   edr.py682366%41–63, 81–92, 111, 116–122, 145–162
   records.py00100% 
TOTAL34013859% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
16 0 💤 9 ❌ 0 🔥 2.391s ⏱️

Please sign in to comment.