Skip to content

Commit

Permalink
Got pylint working locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
calroc committed Jul 8, 2017
1 parent e2a44d3 commit 1581b35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file modified .pylintrc
Binary file not shown.
10 changes: 5 additions & 5 deletions joy/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
('rolldown', ['roll<']),
('rollup', ['roll>']),
('id', ['•']),
# ('', ['']),
)


Expand Down Expand Up @@ -77,7 +76,7 @@
cleave == [i] app2 [popd] dip
branch == roll< choice i
average == [sum 1.0 *] [size] cleave /
gcd == [0 >] [dup rollup modulus] while pop
gcd == 1 [dup rollup modulus dup 0 >] loop pop
least_fraction == dup [gcd] infra [div] concat map
divisor == popop 2 *
minusb == pop neg
Expand Down Expand Up @@ -114,6 +113,7 @@
)



def add_aliases(D, A=ALIASES):
for name, aliases in A:
try:
Expand Down Expand Up @@ -740,7 +740,7 @@ def app1(S, expression, dictionary):

def app2(S, expression, dictionary):
'''Like app1 with two items.
... y x [Q] . app2
-----------------------------------
... [y ...] [Q] . infra first
Expand Down Expand Up @@ -813,12 +813,12 @@ def times(stack, expression, dictionary):
--------------------- w/ n <= 0
... .
... 1 [Q] . times
---------------------------------
... . Q
... n [Q] . times
--------------------------------- w/ n > 1
... . Q (n - 1) [Q] times
Expand Down

0 comments on commit 1581b35

Please sign in to comment.