1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-22 11:04:25 +01:00
Commit Graph

253 Commits

Author SHA1 Message Date
Satwik
176bcc8a25 Bump npm version 2019-12-20 01:25:00 +05:30
Satwik
44e885a09c Ignore unnecessary stuff in npm package 2019-12-20 01:25:00 +05:30
Satwik Kansal
2f383f8dc0
Merge pull request #152 from sobolevn/patch-2
Adds wemake-python-styleguide
2019-12-20 00:29:59 +05:30
Nikita Sobolev
e899e38553
Adds wemake-python-styleguide
Link: https://github.com/wemake-services/wemake-python-styleguide
Docs: https://wemake-python-stylegui.de/en/latest/
2019-12-01 15:51:18 +03:00
Satwik Kansal
8135cbb99c
README.md Fix typos 2019-10-25 19:52:52 +05:30
monujee
bef3f2a33d
Update README.md
Typo corrected.
2019-10-25 14:28:25 +05:30
Satwik Kansal
f8acf49d05
Update README.md 2019-10-09 18:48:41 +05:30
Satwik Kansal
88ccda2bcd
Merge pull request #141 from mitcom/space-invader-operator
Add space-invader operator case
2019-10-09 18:43:28 +05:30
mitcom
d143f972b8 Add space-invader operator case 2019-10-06 13:12:35 +02:00
Satwik
03719dea45 Add few pointers for contributing well 2019-09-13 15:15:31 +05:30
Satwik
c5665da81d Nitpicks in the new example 2019-09-13 15:01:45 +05:30
Satwik Kansal
0fa3067e5f
Merge pull request #138 from scidam/master
New snippet: yielding from... return!
2019-09-13 14:33:20 +05:30
Kislov Dmitry
cedbfba829 New snippet: yielding from... return! 2019-09-13 12:03:27 +10:00
Satwik Kansal
9f5dbbe4e9
Merge pull request #134 from sobolevn/patch-1
Fixes code highlight
2019-08-04 12:56:24 +05:30
Nikita Sobolev
b0622a10ad
Fixes code highlight 2019-07-30 00:34:58 +03:00
Satwik Kansal
e6eac17ef5
Merge pull request #126 from cclauss/patch-2
Use ==/!= to compare str, bytes, and int literals
2019-07-06 13:34:28 +05:30
Satwik Kansal
151d0ec93a
Merge pull request #127 from zachkirsch/patch-1
Fix typos in README.md, CONTRIBUTORS.md
2019-07-03 22:29:39 +05:30
Zach Kirsch
12a1ac10cb Fix github URL typos in CONTRIBUTORS.md 2019-07-03 11:46:31 -04:00
zachkirsch
e611f24e7f
Change constant-folding max from <20 to <=20 2019-07-03 11:39:57 -04:00
cclauss
a4776a6b67
Use ==/!= to compare str, bytes, and int literals
Identity is not the same thing as equality in Python.

$ __[flake8](http://flake8.pycqa.org)  . --count --select=E9,F63,F7,F82 --show-source --statistics__
```
    if resp.status_code is 200:
       ^
1     F632 use ==/!= to compare str, bytes, and int literals
1
```
2019-07-02 15:36:23 +02:00
Satwik Kansal
a83349d0cc
Merge pull request #124 from cclauss/patch-1
Add automated testing using Travis CI
2019-07-02 17:45:11 +05:30
cclauss
14e03a3766
Add automated testing using Travis CI
The repo switch would need to be turned on at https://travis-ci.com/satwikkansal/wtfpython to enable free automated testing of all code changes.
2019-06-28 07:03:12 +02:00
hippie
31dcd9b062 add encoding (#122)
if not set encoding attr,there maybe have some exceptions when open reading.
2019-06-06 23:45:34 +05:30
Satwik Kansal
54883f5134
Use http instead of https
This will avoid CERTIFICATE_VERIFY_FAILED errors due to SSL.
2019-03-31 19:08:19 +05:30
Satwik Kansal
b262f29756
Add reference to chinese translation 2018-12-16 16:23:39 +05:30
kyblockstacking
30e05a5973 Rephrase sentence to make more sense (#109) 2018-12-09 20:23:28 +05:30
1f604
64b310953a fix typo (#107) 2018-12-07 00:24:45 +05:30
Hannes
9c5f26e758 match order of display to if/else order (#105)
I was WTFing for way too long until I realised that the results were displayed in opposite order of the if/else statement.
2018-12-06 01:20:17 +05:30
Hannes
b0e7a816ec make the function *call* more visible (#104)
It is easy to overlook the () in that appending operation, I propose adding a short comment.
2018-12-06 01:15:59 +05:30
Satwik Kansal
d7477885b8
Update broken link 2018-12-05 04:16:32 +05:30
Chris J
145a194c8b Update README.md (#95)
Fixed a small typo
2018-10-03 13:37:17 +05:30
Vibhu Agarwal
ac379c9c03 Fixed input-output of 4th example explanation code (#92)
Ref. example: Deep down, we're all the same
2018-08-28 14:24:54 +05:30
cclauss
2fb04501f7 Fix Python 3 compatibility in the irrelevant code! (#86) 2018-06-22 01:17:51 +05:30
Satwik Kansal
07861a045d Fix an error in the irrelevant code!
Fixes https://github.com/satwikkansal/wtfpython/issues/85
2018-06-19 01:05:32 +05:30
Satwik Kansal
5484680721 Fix incorrect output in "Mysterious key type conversion" example
Fixes https://github.com/satwikkansal/wtfpython/issues/84
2018-06-15 00:48:50 +05:30
Satwik Kansal
d2507c2ff3
Simplify explanation 2018-05-30 00:29:56 +05:30
BOOK
2188fa30cd Update README.md (#82)
Improve explanation for "Strings can be tricky sometimes"
2018-05-30 00:22:49 +05:30
Satwik Kansal
3df9152ec9
Update README.md 2018-05-28 18:05:21 +05:30
Satwik Kansal
518881c70e Correct the snippet in Tic-tac-toe explanation
Fixes https://github.com/satwikkansal/wtfpython/issues/81
2018-05-23 18:16:25 +05:30
Harmon
169fa2fb5e Fix grammatical error (#75) 2018-03-07 02:24:36 +05:30
Mélanie Chauvel
db35390786 Fix a syntax error and some spelling errors (#72) 2018-03-01 02:07:48 +05:30
Satwik Kansal
ea5fc2f47f Update contents 2018-02-26 00:39:01 +05:30
Satwik Kansal
c13ce9701a Add sohaibfarooqi to the contributors 2018-02-26 00:37:49 +05:30
Satwik Kansal
0c9acdcc8e Update TOC 2018-02-26 00:36:22 +05:30
Satwik Kansal
9608b2fcfc Merge examples 2018-02-26 00:34:22 +05:30
Sohaib Farooqi
70fe61737b Generator with Slice assignment trick 2018-02-26 00:18:56 +05:30
Satwik Kansal
240e216c51 Update explanation: Tic tac toe
Fixes https://github.com/satwikkansal/wtfpython/issues/68
2018-02-26 00:03:37 +05:30
Satwik Kansal
a0100a8b48 Update explanation: Strings can be tricky sometimes
Related to https://github.com/satwikkansal/wtfpython/issues/67
2018-02-25 23:31:46 +05:30
Semen Zhydenko
17e49ee9db Fix typos 2018-01-31 01:08:22 +05:30
7664476e51 Fix typo 2018-01-29 22:37:52 +05:30