13 Commits

Author SHA1 Message Date
Franck Nijhof
08884e2cca
Collection of fixes and improvements (#516) 2020-05-11 08:12:01 -07:00
springstan
27433dd8a4
Add typing to style guidelines (#433) 2020-03-14 17:34:15 +01:00
Ville Skyttä
770185004b
Code block improvements (#382)
* Use f-strings instead of .format()

* Code block language marker fixes

* Make example code blocks syntactically valid Python

* Run all python code blocks through black

https://github.com/scop/misc/blob/master/black_markdown.py

* Add some missing code block language markers

* Use shell language consistently to mark shell code blocks

* Undo folding of some example dicts

* Remove outdated OrderedDict comments per Python 3.7, replace with plain dict
2020-01-13 21:55:41 +02:00
Anders Melchiorsen
0fec84e09b Update code formatting advice (#302)
* Update code formatting advice

* Tweak string formatting.
2019-08-15 23:25:39 +02:00
Paulus Schoutsen
ba924f7330
Docs to talk about intregrations (#215)
* Add manifest docs

* Talk about integrations

* Apply suggestions from code review

Co-Authored-By: balloob <paulus@home-assistant.io>

* Address comments

* Apply suggestions from code review

Co-Authored-By: balloob <paulus@home-assistant.io>

* Address comments

* Final comment

* Mention codeowners script
2019-04-06 20:08:49 -07:00
Fabian Affolter
fcaa353318
Update file header 2019-02-13 00:51:19 +01:00
Max Rydahl Andersen
3fde2e4f40 fix misleading style guide (#140)
* fix misleading style guide

style guide stated to use new format style on strings, but when using logging `pylint` is configured to
enforce `%s` usage for lazy log evaluation.

* Make it shorter

* Minor change
2018-11-08 18:27:20 +01:00
Ville Skyttä
6549927701
Encourage new style string formatting (#87) 2018-09-15 10:07:13 +03:00
Fabian Affolter
36a01de7d1
Add isort section (#49) 2018-07-03 09:47:00 +02:00
Paulus Schoutsen
2fd443fe2c fix broken links 2018-04-25 14:19:41 -04:00
Paulus Schoutsen
9311326aec Remove unused header 2018-04-24 15:44:32 -04:00
Paulus Schoutsen
632bc81a20 Fix all headers 2018-04-24 11:46:45 -04:00
Paulus Schoutsen
746e35b7a7 Migrate to Docusaurus 2018-04-24 09:52:18 -04:00