[PR #555] [MERGED] code black format #612

Closed
opened 2026-02-27 15:59:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtcloud/pull/555
Author: @catborise
Created: 11/14/2022
Status: Merged
Merged: 11/14/2022
Merged by: @catborise

Base: masterHead: master


📝 Commits (2)

  • a1eab70 reorg imports and black format
  • e2a15d9 eliminate code repetition with class structure

📊 Changes

27 files changed (+405 additions, -389 deletions)

View changed files

📝 accounts/apps.py (+2 -1)
📝 accounts/views.py (+3 -8)
📝 admin/views.py (+3 -5)
📝 computes/api/serializers.py (+2 -7)
📝 computes/api/viewsets.py (+3 -4)
📝 computes/utils.py (+3 -1)
📝 computes/views.py (+105 -104)
📝 datasource/views.py (+4 -10)
📝 instances/api/serializers.py (+1 -2)
📝 instances/api/viewsets.py (+28 -24)
📝 instances/forms.py (+1 -2)
📝 instances/models.py (+5 -13)
📝 instances/views.py (+5 -7)
📝 interfaces/forms.py (+55 -41)
📝 interfaces/views.py (+4 -3)
📝 networks/api/serializers.py (+1 -1)
📝 networks/api/viewsets.py (+12 -10)
📝 networks/forms.py (+1 -1)
📝 networks/views.py (+3 -3)
📝 storages/api/viewsets.py (+71 -45)

...and 7 more files

📄 Description

code format with black
eliminate code redundancy


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtcloud/pull/555 **Author:** [@catborise](https://github.com/catborise) **Created:** 11/14/2022 **Status:** ✅ Merged **Merged:** 11/14/2022 **Merged by:** [@catborise](https://github.com/catborise) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`a1eab70`](https://github.com/retspen/webvirtcloud/commit/a1eab70e2d58e98795b11e44bbd653dab2f1b238) reorg imports and black format - [`e2a15d9`](https://github.com/retspen/webvirtcloud/commit/e2a15d926cb1940c7832ae59e8475a65c9a42177) eliminate code repetition with class structure ### 📊 Changes **27 files changed** (+405 additions, -389 deletions) <details> <summary>View changed files</summary> 📝 `accounts/apps.py` (+2 -1) 📝 `accounts/views.py` (+3 -8) 📝 `admin/views.py` (+3 -5) 📝 `computes/api/serializers.py` (+2 -7) 📝 `computes/api/viewsets.py` (+3 -4) 📝 `computes/utils.py` (+3 -1) 📝 `computes/views.py` (+105 -104) 📝 `datasource/views.py` (+4 -10) 📝 `instances/api/serializers.py` (+1 -2) 📝 `instances/api/viewsets.py` (+28 -24) 📝 `instances/forms.py` (+1 -2) 📝 `instances/models.py` (+5 -13) 📝 `instances/views.py` (+5 -7) 📝 `interfaces/forms.py` (+55 -41) 📝 `interfaces/views.py` (+4 -3) 📝 `networks/api/serializers.py` (+1 -1) 📝 `networks/api/viewsets.py` (+12 -10) 📝 `networks/forms.py` (+1 -1) 📝 `networks/views.py` (+3 -3) 📝 `storages/api/viewsets.py` (+71 -45) _...and 7 more files_ </details> ### 📄 Description code format with black eliminate code redundancy --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:59:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#612
No description provided.