Black
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -7,7 +7,7 @@
|
||||
.LSOverride
|
||||
|
||||
# Icon must end with two \r
|
||||
Icon
|
||||
Icon
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
@@ -191,5 +191,3 @@ cython_debug/
|
||||
# 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.
|
||||
#.idea/
|
||||
#.idea/
|
||||
|
||||
|
||||
@@ -15,3 +15,7 @@ repos:
|
||||
- id: poetry-lock
|
||||
- id: poetry-export
|
||||
args: ["-f", "requirements.txt", "-o", "requirements.txt"]
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.1.0
|
||||
hooks:
|
||||
- id: black
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = '0.1.0'
|
||||
__version__ = "0.1.0"
|
||||
|
||||
@@ -16,7 +16,6 @@ class Response(BaseModel):
|
||||
|
||||
@app.post("/sleep", response_model=Response)
|
||||
async def sleep() -> Response:
|
||||
|
||||
extron.sleep()
|
||||
projector.power_off()
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@ from projectorpi_web import __version__
|
||||
|
||||
|
||||
def test_version():
|
||||
assert __version__ == '0.1.0'
|
||||
assert __version__ == "0.1.0"
|
||||
|
||||
Reference in New Issue
Block a user