This commit is contained in:
2023-02-28 22:51:08 +01:00
parent fb5bf41f9a
commit e78fd7df13
5 changed files with 7 additions and 6 deletions

2
.gitignore vendored
View File

@@ -191,5 +191,3 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear # and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/
#.idea/

View File

@@ -15,3 +15,7 @@ repos:
- id: poetry-lock - id: poetry-lock
- id: poetry-export - id: poetry-export
args: ["-f", "requirements.txt", "-o", "requirements.txt"] args: ["-f", "requirements.txt", "-o", "requirements.txt"]
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black

View File

@@ -1 +1 @@
__version__ = '0.1.0' __version__ = "0.1.0"

View File

@@ -16,7 +16,6 @@ class Response(BaseModel):
@app.post("/sleep", response_model=Response) @app.post("/sleep", response_model=Response)
async def sleep() -> Response: async def sleep() -> Response:
extron.sleep() extron.sleep()
projector.power_off() projector.power_off()

View File

@@ -2,4 +2,4 @@ from projectorpi_web import __version__
def test_version(): def test_version():
assert __version__ == '0.1.0' assert __version__ == "0.1.0"