Skip to content

Commit 64c2020

Browse files
authored
style: apply formatting and structural fixes (#6)
* style: apply formatting and structural fixes * chore: add pre-commit configuration and CI * style: apply pre-commit fixes * chore: add pre-commit configuration and CI * chore: remove pre-commit config from style branch * chore: remove all config and CI files from style branch * chore: remove accidental node_modules tracking * chore: restore existing CI workflows (release, etc)
1 parent de68bb5 commit 64c2020

11 files changed

Lines changed: 2 additions & 11 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,4 @@
199199
distributed under the License is distributed on an "AS IS" BASIS,
200200
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201201
See the License for the specific language governing permissions and
202-
limitations under the License.
202+
limitations under the License.

generate_models.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Generate Pydantic models from UCP JSON Schemas
33

44
# Ensure we are in the script's directory
5-
cd "$(dirname "$0")"
5+
cd "$(dirname "$0")" || exit
66

77
# Output directory
88
OUTPUT_DIR="src/ucp_sdk/models"

src/ucp_sdk/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
# generated by datamodel-codegen
1616
# pylint: disable=all
1717
# pyformat: disable
18-

src/ucp_sdk/models/discovery/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
# generated by datamodel-codegen
1616
# pylint: disable=all
1717
# pyformat: disable
18-

src/ucp_sdk/models/handlers/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
# generated by datamodel-codegen
1616
# pylint: disable=all
1717
# pyformat: disable
18-

src/ucp_sdk/models/handlers/tokenization/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
# generated by datamodel-codegen
1616
# pylint: disable=all
1717
# pyformat: disable
18-

src/ucp_sdk/models/schemas/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
# generated by datamodel-codegen
1616
# pylint: disable=all
1717
# pyformat: disable
18-

src/ucp_sdk/models/schemas/shopping/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
# generated by datamodel-codegen
1616
# pylint: disable=all
1717
# pyformat: disable
18-

src/ucp_sdk/models/schemas/shopping/types/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
# generated by datamodel-codegen
1616
# pylint: disable=all
1717
# pyformat: disable
18-

src/ucp_sdk/models/services/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
# generated by datamodel-codegen
1616
# pylint: disable=all
1717
# pyformat: disable
18-

0 commit comments

Comments
 (0)