Skip to content

Commit

Permalink
WIP: going back to just excluding init
Browse files Browse the repository at this point in the history
  • Loading branch information
powersaudrey25 committed Feb 8, 2024
1 parent a64f2b7 commit 6fb3261
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ repos:
# Run the linter.
- id: ruff
args: [ --fix , --ignore , "F403" ]
exclude: "__init__, test_job_configurations, test_jobs"
exclude: "__init__"
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_create_job_configurations(app_client, random_provider_user_with_api_key
def test_create_job_configurations_with_new_version(
db, app_client, random_provider_user_with_api_key
):
services.create_job_configuration(
_ = services.create_job_configuration(
db,
provider_id=random_provider_user_with_api_key.id,
job_configuration=schemas.JobConfigurationCreate(
Expand Down Expand Up @@ -90,7 +90,7 @@ def test_create_job_configurations_with_new_version(
def test_create_job_configuration_with_conflicting_version(
db, app_client, random_provider_user_with_api_key
):
services.create_job_configuration(
_ = services.create_job_configuration(
db,
provider_id=random_provider_user_with_api_key.id,
job_configuration=schemas.JobConfigurationCreate(
Expand Down Expand Up @@ -122,7 +122,7 @@ def test_create_job_configuration_with_conflicting_version(
def test_create_job_configuration_with_conflicting_version_on_metadata(
db, app_client, random_provider_user_with_api_key
):
services.create_job_configuration(
_ = services.create_job_configuration(
db,
provider_id=random_provider_user_with_api_key.id,
job_configuration=schemas.JobConfigurationCreate(
Expand Down Expand Up @@ -286,7 +286,7 @@ def test_get_job_configurations_with_specific_tag_and_version(
def test_job_configuration_with_tag_and_latest_version(
app_client, db, random_provider_user_with_api_key
):
(
_ = (
services.create_job_configuration(
db,
provider_id=random_provider_user_with_api_key.id,
Expand Down Expand Up @@ -411,7 +411,7 @@ def test_get_all_configurations_for_tag_with_missing_version(
def test_get_list_of_latest_versions_for_all_job_configurations_with_version_latest(
app_client, db, random_provider_user_with_api_key
):
services.create_job_configuration(
_ = services.create_job_configuration(
db,
provider_id=random_provider_user_with_api_key.id,
job_configuration=schemas.JobConfigurationCreate(
Expand All @@ -422,7 +422,7 @@ def test_get_list_of_latest_versions_for_all_job_configurations_with_version_lat
),
)

services.create_job_configuration(
_ = services.create_job_configuration(
db,
provider_id=random_provider_user_with_api_key.id,
job_configuration=schemas.JobConfigurationCreate(
Expand Down Expand Up @@ -490,7 +490,7 @@ def test_get_list_of_latest_versions_for_all_job_configurations_with_version_lat
def test_get_list_of_latest_versions_for_all_job_configurations_with_empty_query_params(
app_client, db, random_provider_user_with_api_key
):
services.create_job_configuration(
_ = services.create_job_configuration(
db,
provider_id=random_provider_user_with_api_key.id,
job_configuration=schemas.JobConfigurationCreate(
Expand All @@ -501,7 +501,7 @@ def test_get_list_of_latest_versions_for_all_job_configurations_with_empty_query
),
)

services.create_job_configuration(
_ = services.create_job_configuration(
db,
provider_id=random_provider_user_with_api_key.id,
job_configuration=schemas.JobConfigurationCreate(
Expand Down

0 comments on commit 6fb3261

Please sign in to comment.