This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM With single envs it works as expected: | |
REM expecting: nothing printed, no FAIL | |
tox -q run -e py310-ok & if ERRORLEVEL 1 echo FAIL | |
REM (OK) expectation met. | |
REM expecting FAIL: | |
tox -q run -e py310-fail & if ERRORLEVEL 1 echo FAIL | |
REM (OK) expectation met. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Angle where | |
{- | Type-class for angle units. | |
This library provides @Rad@ (radians) and @Deg@ (degrees), but you could | |
define e.g. Gon. The instance definition takes the value of a turn. | |
-} | |
class Angle a where | |
-- how many UNITS does a whole turn have? | |
turn :: Floating x => a x | |
-- normalizes the angle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from uuslug import uuslug | |
from neo4django.db import models | |
from neo4django.auth.models import User | |
# Create your models here. | |
class Category(models.NodeModel): | |
name = models.StringProperty(unique=True, indexed=True) | |
url_name = models.StringProperty(unique=True, indexed=True) | |
description = models.StringProperty() |