README.md 793 字节
Newer Older
D
Dan Bader 已提交
1
# Real Python Materials
D
Dan Bader 已提交
2

D
Dan Bader 已提交
3 4 5
Bonus materials, exercises, and example projects for our [Python tutorials](https://realpython.com).

Build Status: [![CircleCI](https://circleci.com/gh/realpython/materials.svg?style=svg)](https://circleci.com/gh/realpython/materials)
D
Dan Bader 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

## Running Code Style Checks

We use [flake8](http://flake8.pycqa.org/en/latest/) and [black](https://github.com/ambv/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:

```sh
$ flake8
$ black --check .
```

## Running Python Code Formatter

To automatically re-format your code to be consistent with our code style guidelines, run [black](https://github.com/ambv/black) in the repository root folder:

```sh
$ black .
```