GithubHelp home page GithubHelp logo

stephappiah / materials Goto Github PK

View Code? Open in Web Editor NEW

This project forked from realpython/materials

0.0 0.0 0.0 56.03 MB

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

Home Page: https://realpython.com

License: MIT License

Python 25.68% HTML 1.57% CSS 0.74% JavaScript 3.89% Java 0.17% Jupyter Notebook 67.72% Emacs Lisp 0.16% C 0.02% C++ 0.05%

materials's Introduction

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 .

materials's People

Contributors

dbader avatar writeson avatar lpozo avatar bsolomon1124 avatar jfincher42 avatar jima80525 avatar techiediaries avatar somacdivad avatar ysbecca avatar jayascript avatar bzaczynski avatar jasminefiner avatar jaclynn avatar bryanwweber avatar martin-martin avatar jablonskidev avatar natej avatar driscollis avatar kylestratis avatar gahjelle avatar pedropregueiro avatar avantol13 avatar the-it avatar d3prof3t avatar dhepper avatar reka169 avatar niceguydave avatar nicoglp avatar rodrigogiraoserrao avatar jdavcs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.