materials

Bonus materials, exercises, and example projects for our Python tutorials

  • 所有者: realpython/materials
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Real Python Materials

Bonus materials, exercises, and example projects for our Python tutorials.

Build Status: CircleCI

Running Code Style Checks

We use flake8 and black to ensure a consistent code style for all of our sample code in this repository.

Run the following commands to validate your code against the linters:

$ flake8
$ black --check .

Running Python Code Formatter

We're using a tool called black on this repo to ensure consistent formatting. On CI it runs in "check" mode to ensure any new files added to the repo are following PEP 8. If you see linter warnings that say something like "would reformat some_file.py" it means black disagrees with your formatting.

The easiest way to resolve these errors is to just run Black locally on the code and then committing those changes, as explained below.

To automatically re-format your code to be consistent with our code style guidelines, run black in the repository root folder:

$ black .

主要指標

概覽
名稱與所有者realpython/materials
主編程語言HTML
編程語言Python (語言數: 20)
平台
許可證MIT License
所有者活动
創建於2018-05-06 20:46:18
推送於2025-06-18 17:35:37
最后一次提交2025-06-18 11:35:36
發布數0
用户参与
星數4.9k
關注者數159
派生數5.3k
提交數3k
已啟用問題?
問題數61
打開的問題數33
拉請求數496
打開的拉請求數32
關閉的拉請求數87
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?