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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?