Compare commits

...

1 Commits

Author SHA1 Message Date
Frank Lanitz cbf3002b93 Reformat source code
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-06-21 17:28:57 +02:00
3 changed files with 10 additions and 9 deletions

View File

@ -43,7 +43,7 @@ python -m unittest discover ki
flake8
```
### Formating
### Formatierung
Um ein einheitliches Quellcode-Erlebnis zu haben, kann der Code mit yapf neu formatiert werden:

View File

@ -1 +1 @@
from ki import models, commands, routes # noqa
from ki import models, commands, routes # noqa

View File

@ -22,13 +22,14 @@ class TestSkillsEndpoint(unittest.TestCase):
self.assertEqual(response.status_code, 200)
self.assertEqual(
{
"skills": [
{"id": 1, "name": "PHP"},
{"id": 3, "name": "Python"}
]
},
response.json
)
"skills": [{
"id": 1,
"name": "PHP"
}, {
"id": 3,
"name": "Python"
}]
}, response.json)
if __name__ == "main":