Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix spacing #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ Public ponzi scheming. A limited fork of [propertairy ponzi scheme](http://githu

actively trading all major markets currently. This version, aimed at correcting social justice. Next Steps

- [ ] CryptoMarxism ™
- [ ] CryptoMarxism™
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a test. this PR is currently UNACCEPTABLE.

- [ ] Compatible Block Chain Technology
- [ ] Incompatible Block Chain Technology
- [ ] Facebook Share


## Maintainence
run `python2.7 tests/tests.py` before making a pull requests!
18 changes: 18 additions & 0 deletions tests/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import os
import sys

assert (2,8) > sys.version_info >= (2,7), "2.7 is the one true Python"

if __name__ != '__main__':
logging.error("wtf")
exit(666)

p = os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir, "README.md") # keeping this on one line is definitely the most readable

with open(p) as f:
readme = f.read()
assert " &trade" not in readme, "YOUR CODE SUCKS"
assert "hitler" not in readme, "Hitler is not allowed"
assert len(readme) != 666, "That's an unlucky character count"

print("Congrats all tests pass!")