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

Testing new changes #322

Open
wants to merge 6 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: 6 additions & 0 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scanner:
diff_only: false
linter: flake8

flake8:
max-line-length: 82
8 changes: 5 additions & 3 deletions modules/good_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
import ping_me.authenticate

def main() :
"""Executed by cron every minute. Sends POST request to recieve
"""Executed by cron every minute. Sends POST request to recieve dsadakjdkajndkjasndkjasndkjasndkjsandkjasndkjasndkjasdnkjasndkjasdnkjsandkjasdnkjadnkjadnda
reminder for upcoming minute."""

target = "http://ping-me.himanshumishra.in/ping/"

#### Tooo many ###

target="http://ping-me.himanshumishra.in/ping/"
email = ping_me.authenticate.extract_email()
key = ping_me.authenticate.extract_password()
data_t = {
Expand Down
24 changes: 24 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

# Comments
# More comments

[some_section]
some_config = some_value # Comments
another_config = another_value

[flake8]
max-line-length = 81
ignore =
W503, # line break before binary operator
W504, # line break after binary operator
E402, # module level import not at top of file
E731, # do not assign a lambda expression, use a def
C406, # Unnecessary list literal - rewrite as a dict literal.
C408, # Unnecessary dict call - rewrite as a literal.
C409, # Unnecessary list passed to tuple() - rewrite as a tuple literal.
S001 # found modulo formatter (incorrect picks up mod operations)
exclude =
doc/sphinxext/*.py,
.eggs/*.py,
versioneer.py,
env # exclude asv benchmark environments from linting
1 change: 1 addition & 0 deletions versioneer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("a long looooooong line dnsakdnsakjdnaskjdnkajsndkjasndkjasndkjasndkjasdnkasdnkjansdkjdnkjasdnkjasdnksjdnkjadnskjdnakjdnakdsjnaskjdnsakjdnksadnj")