Compare commits
No commits in common. "5eeaa26868bc314a9935e68a9ac651c5773850d6" and "33be6c1fe9b72f1f1b81acdc8f3aa66e63ae5342" have entirely different histories.
5eeaa26868
...
33be6c1fe9
3 changed files with 2 additions and 44 deletions
|
@ -1,42 +0,0 @@
|
|||
# Milkshake
|
||||
|
||||
![milkshake](./milkshake.png)
|
||||
|
||||
A tool for slurping S-expressions. They are quite tasty.
|
||||
|
||||
## Grammar
|
||||
|
||||
Milkshake supports a slightly expanded and idiosyncratic set of S-expression datums.
|
||||
Milkshake owes much to but is not quite Clojure's EDN.
|
||||
|
||||
```lisp
|
||||
|
||||
;; A comment. Any number of semicolons will do.
|
||||
|
||||
() ; A list
|
||||
'() ; A quoted list
|
||||
[] ; Another kind of list
|
||||
#[] ; A vector (maybe just a list)
|
||||
{'foo 1} ; A mapping
|
||||
#{1 2 3} ; A set
|
||||
|
||||
nil ; A symbol
|
||||
/ ; Another symbol
|
||||
~ ; An unusual symbol
|
||||
# ; Another unusual symbol
|
||||
|
||||
/^\s+/ ; A regex pattern
|
||||
|
||||
"foo" ; A string
|
||||
|
||||
1 ; A number
|
||||
1e3 ; Another number
|
||||
+3.1415 ; Another form of a floating number
|
||||
1,000.00 ; A US-format number
|
||||
1.000,00 ; A more common number format
|
||||
1_000.00 ; A compromise form for a number
|
||||
|
||||
`() ; A quasiquoted expression
|
||||
`~() ; An unqoted expression
|
||||
`~@() ; A spliced expression
|
||||
```
|
Binary file not shown.
Before Width: | Height: | Size: 81 KiB |
|
@ -123,8 +123,8 @@ def licenses(dist: DistInfoDistribution):
|
|||
|
||||
@pytest.mark.parametrize(
|
||||
"dist",
|
||||
(w for w in working_set if w.location.find("pypi_") != -1),
|
||||
ids=lambda dist: getattr(dist, "project_name", "unknown"),
|
||||
(w for w in working_set if w.location.find("arrdem_source_pypi") != -1),
|
||||
ids=lambda dist: dist.project_name,
|
||||
)
|
||||
def test_approved_license(dist: DistInfoDistribution):
|
||||
"""Ensure that a given package is either allowed by name or uses an approved license."""
|
||||
|
|
Loading…
Reference in a new issue