Skip to content

Commit bb589d6

Browse files
committed
[FIX] cetmix_tower_jet_isolation: resolve pre-commit violations
1 parent 577eee9 commit bb589d6

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

cetmix_tower_jet_isolation/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"category": "Tower",
55
"summary": "Adds strict isolation mode for Jets, preventing users from altering command visibility.",
66
"author": "Antigravity",
7+
"website": "https://github.com/cetmix/cetmix-tower",
78
"depends": [
89
"cetmix_tower_server",
910
],

cetmix_tower_jet_isolation/models/cx_tower_jet_template.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ class CxTowerJetTemplate(models.Model):
44
_inherit = 'cx.tower.jet.template'
55

66
isolation_mode = fields.Boolean(
7-
string='Isolation Mode',
8-
help='When active, prevents users from changing applicability or tags when running commands/plans.'
7+
"Isolation Mode",
8+
help="When active, prevents users from changing applicability or tags when running commands/plans."
99
)
1010
forced_applicability = fields.Selection([
11-
('this', 'For selected server(s)'),
12-
('shared', 'Non server restricted')
13-
], string='Forced Applicability')
11+
('this', "For selected server(s)"),
12+
('shared', "Non server restricted")
13+
], "Forced Applicability")
1414

1515
forced_command_tag_ids = fields.Many2many(
1616
comodel_name='cx.tower.tag',
1717
relation='cx_tower_template_forced_command_tag_rel',
18-
string='Forced Command Tags',
18+
string="Forced Command Tags",
1919
)
2020

2121
forced_plan_tag_ids = fields.Many2many(
2222
comodel_name='cx.tower.tag',
2323
relation='cx_tower_template_forced_plan_tag_rel',
24-
string='Forced Flight Plan Tags',
24+
string="Forced Flight Plan Tags",
2525
)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)