Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S system-design-primer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 173
    • Issues 173
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 190
    • Merge requests 190
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Donne Martin
  • system-design-primer
  • Merge requests
  • !173

Add newlines - PEP8 style

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/cclauss/whitespace-changes into master Jul 15, 2018
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 3

Created by: cclauss

This adds a single carriage return to three different files so that this repo compliant with PEP8.

The rules being corrected for are:

  • two blank lines before each class definition
  • a single carriage return at the end of each file

These changes are suggested by the test:

$ flake8 . --max-line-length=92 --show-source

./solutions/system_design/query_cache/query_cache_snippets.py:3:1: E302 expected 2 blank lines, found 1
class QueryApi(object):
^
./solutions/system_design/web_crawler/web_crawler_snippets.py:3:1: E302 expected 2 blank lines, found 1
class PagesDataStore(object):
^
./solutions/object_oriented_design/hash_table/hash_map.py:38:40: W292 no newline at end of file
        raise KeyError('Key not found')
                                       ^
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/cclauss/whitespace-changes