diff --git a/.pep8speaks.yml b/.pep8speaks.yml new file mode 100644 index 0000000..9c31caf --- /dev/null +++ b/.pep8speaks.yml @@ -0,0 +1,2 @@ +scanner: + diff_only: false diff --git a/modules/good_module.py b/modules/good_module.py index 969823e..4ee9127 100644 --- a/modules/good_module.py +++ b/modules/good_module.py @@ -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 = { diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..8fbe6f0 --- /dev/null +++ b/setup.cfg @@ -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 diff --git a/versioneer.py b/versioneer.py new file mode 100644 index 0000000..dc65865 --- /dev/null +++ b/versioneer.py @@ -0,0 +1 @@ +print("a long looooooong line dnsakdnsakjdnaskjdnkajsndkjasndkjasndkjasndkjasdnkasdnkjansdkjdnkjasdnkjasdnksjdnkjadnskjdnakjdnakdsjnaskjdnsakjdnksadnj")