senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. rednose (rednose@fla.red)'s status on Thursday, 16-Aug-2018 17:42:57 JST rednose rednose

    Pythonのコーディング規約ことPEP8は概ね気に入ってるんですがhanging indentすると怒られるのだけが未だに納得いかない
    ```python
    l = [
    "first",
    "second",
    "third",
    ]
    ```
    みたいなやつのことです。

    PEP8だと1行80文字までと言われるので引数が結構あるクラスのインスタンスを作るときにどうしても80文字超えるからインデントを入れざるを得ないんですが、そこでこういうhanging indentを使うと怒られまくるので厳しい

    In conversation Thursday, 16-Aug-2018 17:42:57 JST from fla.red permalink

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.