We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e134084 commit 9303f3aCopy full SHA for 9303f3a
src/minizinc/driver.py
@@ -17,8 +17,7 @@
17
18
19
class Driver(ABC):
20
- """The abstract representation of a MiniZinc driver within MiniZinc Python.
21
- """
+ """The abstract representation of a MiniZinc driver within MiniZinc Python."""
22
23
Solver: Type
24
Instance: Instance
src/minizinc/instance.py
@@ -15,9 +15,9 @@
15
class Instance(Model, ABC):
16
"""Abstract representation of a MiniZinc instance in Python.
- Raises:
- MiniZincError: when an error occurs during the parsing or
- type checking of the model object.
+ Raises:
+ MiniZincError: when an error occurs during the parsing or
+ type checking of the model object.
"""
@abstractmethod
src/minizinc/pygments.py
@@ -104,7 +104,10 @@ class MiniZincLexer(RegexLexer):
104
("(\n|\r|\r\n)", String),
105
(".", String),
106
],
107
- "main__1": [("(\n|\r|\r\n)", String), (".", Generic.Inserted),],
+ "main__1": [
108
+ ("(\n|\r|\r\n)", String),
109
+ (".", Generic.Inserted),
110
+ ],
111
"main__2": [
112
("(\\|)", bygroups(Punctuation)),
113
("(/\\*)", bygroups(Comment), "multi_line_comment__1"),
@@ -447,7 +450,10 @@ class MiniZincLexer(RegexLexer):
447
450
448
451
449
452
- "multi_line_comment__1": [("(\n|\r|\r\n)", String), (".", Comment),],
453
+ "multi_line_comment__1": [
454
455
+ (".", Comment),
456
457
"string__1": [
458
("(\\\\\\()", bygroups(Punctuation), "string__2"),
459
("(\\\\[\"'\\\\nrvt])", bygroups(String.Escape)),
0 commit comments