Skip to content

Commit ecf67cb

Browse files
committed
include Symbol in rsa package, ignore empty __init__ files with Ruff
1 parent ffc4aaf commit ecf67cb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pyformlang/rsa/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
A recursive automaton.
1010
:class:`pyformlang.rsa.Box`:
1111
A constituent part of a recursive automaton.
12+
:class:`pyformlang.rsa.Symbol`:
13+
A nonterminal of the Box.
1214
1315
References
1416
----------
@@ -20,10 +22,11 @@
2022
"""
2123

2224
from .recursive_automaton import RecursiveAutomaton
23-
from .box import Box
25+
from .box import Box, Symbol
2426

2527

2628
__all__ = [
2729
"RecursiveAutomaton",
2830
"Box",
31+
"Symbol",
2932
]

ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ select = [
4444
]
4545

4646
ignore = [
47+
"D104",
4748
"D416",
4849
"ANN401",
4950
]

0 commit comments

Comments
 (0)