Skip to content

Commit

Permalink
Merge pull request #303 from EvanBldy/master
Browse files Browse the repository at this point in the history
Various improvements
  • Loading branch information
EvanBldy authored Oct 16, 2023
2 parents 6a902ed + 9972600 commit b16beb0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
---
name: Gazu CI

on:
pull_request:
branches:
- master
push:
branches:
- master
on: [push, pull_request]

jobs:
ci:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: Build package and deploy on PyPi

on:
push:
branches:
- master
tags:
- v[0-9]+.[0-9]+.[0-9]+
on: [push, pull_request]

jobs:
build-n-publish:
Expand Down
4 changes: 4 additions & 0 deletions gazu/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def new_project(
asset_types=[],
task_statuses=[],
task_types=[],
production_style="2d3d",
client=default,
):
"""
Expand All @@ -113,6 +114,8 @@ def new_project(
asset_types (list): Asset types of the project.
task_statuses (list): Task statuses of the project.
task_types (list): Task types of the project.
production_style (str): 2d, 3d, 2d3d, ar, vfx, stop-motion, motion-design,
archviz, commercial, catalog, immersive, nft, video-game, vr.
Returns:
dict: Created project.
"""
Expand All @@ -129,6 +132,7 @@ def new_project(
task_statuses
),
"task_types": normalize_list_of_models_for_links(task_types),
"production_style": production_style,
},
client=client,
)
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers =
zip_safe = False
packages = find:
install_requires =
python-socketio[client]==5.9.0; python_version != '2.7'
python-socketio[client]==5.10.0; python_version != '2.7'
requests>=2.25.1

[options.packages.find]
Expand All @@ -48,4 +48,4 @@ test =

lint =
black==23.9.1; python_version != '2.7'
pre-commit==3.4.0; python_version >= '3.8'
pre-commit==3.5.0; python_version >= '3.8'

0 comments on commit b16beb0

Please sign in to comment.