Skip to content

Commit 426ec09

Browse files
Merge pull request #124 from VineetBala-AOT/main
fixing linting on backend
2 parents 9d4d3bb + 21a6fb9 commit 426ec09

28 files changed

+29
-29
lines changed

condition-api/src/condition_api/resources/condition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def post(project_id, document_id):
150150
else:
151151
conditions_data = {}
152152
query_params = request.args
153-
allow_duplicate_condition = query_params.get(
153+
allow_duplicate_condition = query_params.get(
154154
'allow_duplicate_condition', 'true').lower() == 'true'
155155
created_condition = ConditionService.create_condition(project_id,
156156
document_id,
@@ -203,7 +203,7 @@ def patch(condition_id):
203203
conditions_data = ConditionSchema().load(API.payload)
204204
query_params = request.args
205205

206-
allow_duplicate_condition = query_params.get(
206+
allow_duplicate_condition = query_params.get(
207207
'allow_duplicate_condition', 'true').lower() == 'true'
208208
if allow_duplicate_condition:
209209
check_condition_exists = True

condition-api/src/condition_api/resources/ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.

condition-api/src/condition_api/services/amendment_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.

condition-api/src/condition_api/services/attribute_key_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.

condition-api/src/condition_api/services/authorization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.

condition-api/src/condition_api/services/condition_attribute_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.

condition-api/src/condition_api/services/condition_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.

condition-api/src/condition_api/services/document_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.

condition-api/src/condition_api/services/management_plan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.

condition-api/src/condition_api/services/project_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)