AEI 1.2.dev3__tar.gz → 1.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aei-1.4.0/AEI.egg-info/PKG-INFO +97 -0
- {AEI-1.2.dev3 → aei-1.4.0}/AEI.egg-info/SOURCES.txt +6 -5
- aei-1.4.0/AEI.egg-info/entry_points.txt +7 -0
- aei-1.4.0/AEI.egg-info/requires.txt +5 -0
- {AEI-1.2.dev3 → aei-1.4.0}/LICENSE.txt +1 -1
- aei-1.4.0/PKG-INFO +97 -0
- aei-1.4.0/README.md +69 -0
- aei-1.4.0/pyproject.toml +92 -0
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/aei.py +104 -102
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/analyze.py +58 -53
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/board.py +426 -418
- aei-1.4.0/pyrimaa/game.py +221 -0
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/gameroom.py +328 -311
- aei-1.4.0/pyrimaa/postal_controller.py +135 -0
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/roundrobin.py +102 -113
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/simple_engine.py +76 -24
- aei-1.4.0/pyrimaa/test_runner.py +99 -0
- aei-1.4.0/pyrimaa/tests/socketadapter.py +56 -0
- aei-1.4.0/pyrimaa/tests/test_aei.py +282 -0
- aei-1.4.0/pyrimaa/tests/test_analyze.py +433 -0
- aei-1.4.0/pyrimaa/tests/test_board.py +631 -0
- aei-1.4.0/pyrimaa/tests/test_game.py +1135 -0
- aei-1.4.0/pyrimaa/tests/test_simple_engine.py +161 -0
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/tests/test_util.py +5 -25
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/util.py +10 -30
- {AEI-1.2.dev3 → aei-1.4.0}/setup.cfg +4 -5
- AEI-1.2.dev3/AEI.egg-info/PKG-INFO +0 -57
- AEI-1.2.dev3/AEI.egg-info/entry_points.txt +0 -8
- AEI-1.2.dev3/PKG-INFO +0 -57
- AEI-1.2.dev3/aei-protocol.txt +0 -415
- AEI-1.2.dev3/pyrimaa/game.py +0 -225
- AEI-1.2.dev3/pyrimaa/postal_controller.py +0 -148
- AEI-1.2.dev3/pyrimaa/test_runner.py +0 -34
- AEI-1.2.dev3/pyrimaa/tests/test_aei.py +0 -165
- AEI-1.2.dev3/pyrimaa/tests/test_analyze.py +0 -153
- AEI-1.2.dev3/pyrimaa/tests/test_game.py +0 -534
- AEI-1.2.dev3/pyrimaa/x88board.py +0 -841
- AEI-1.2.dev3/readme.rst +0 -42
- AEI-1.2.dev3/setup.py +0 -28
- AEI-1.2.dev3/usage.rst +0 -179
- {AEI-1.2.dev3 → aei-1.4.0}/AEI.egg-info/dependency_links.txt +0 -0
- {AEI-1.2.dev3 → aei-1.4.0}/AEI.egg-info/top_level.txt +0 -0
- {AEI-1.2.dev3 → aei-1.4.0}/MANIFEST.in +0 -0
- {AEI-1.2.dev3 → aei-1.4.0}/analyze_example.cfg +0 -0
- {AEI-1.2.dev3 → aei-1.4.0}/example_position.txt +0 -0
- {AEI-1.2.dev3 → aei-1.4.0}/gameroom_example.cfg +0 -0
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/__init__.py +0 -0
- {AEI-1.2.dev3 → aei-1.4.0}/pyrimaa/tests/__init__.py +0 -0
- {AEI-1.2.dev3 → aei-1.4.0}/roundrobin_example.cfg +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: AEI
|
|
3
|
+
Version: 1.4.0
|
|
4
|
+
Summary: Arimaa Engine Interface tools
|
|
5
|
+
Author-email: Janzert <janzert@janzert.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://arimaa.janzert.com/aei
|
|
8
|
+
Project-URL: Source Code, https://github.com/janzert/aei
|
|
9
|
+
Keywords: Arimaa
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Intended Audience :: Developers
|
|
19
|
+
Classifier: Topic :: Games/Entertainment :: Board Games
|
|
20
|
+
Requires-Python: >=3.8
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE.txt
|
|
23
|
+
Provides-Extra: dev
|
|
24
|
+
Requires-Dist: coverage[toml]>=7.0; extra == "dev"
|
|
25
|
+
Requires-Dist: ruff>=0.8.0; extra == "dev"
|
|
26
|
+
Requires-Dist: pre-commit>=3.0.0; extra == "dev"
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
|
|
29
|
+
# AEI Readme
|
|
30
|
+
|
|
31
|
+
This package provides a specification for the Arimaa Engine Interface (AEI).
|
|
32
|
+
It also includes some tools for using engines that implement AEI. Including an
|
|
33
|
+
interface to the arimaa.com gameroom. A full description of AEI can be found in
|
|
34
|
+
the file `AEI_PROTOCOL.md`.
|
|
35
|
+
|
|
36
|
+
The scripts included for working with an AEI engine are:
|
|
37
|
+
|
|
38
|
+
- `analyze` - A simple script that runs an engine and has it search a given position or move sequence.
|
|
39
|
+
- `gameroom` - AEI controller that connects to the arimaa.com gameroom and plays a game.
|
|
40
|
+
- `postal_controller` - Keeps a bot making moves as needed in any postal games it is a participant in.
|
|
41
|
+
- `pyrimaa_tests` - Test runner utility.
|
|
42
|
+
- `roundrobin` - Plays engines against each other in a round robin tournament.
|
|
43
|
+
- `simple_engine` - Very basic AEI engine, just plays random step moves.
|
|
44
|
+
|
|
45
|
+
Basic examples of using the scripts can be found in the file `USAGE.md`.
|
|
46
|
+
|
|
47
|
+
The pyrimaa package also includes modules implementing the controller side of
|
|
48
|
+
the AEI protocol (`aei.py`), the Arimaa position representation (as bitboards
|
|
49
|
+
in `board.py`), and a few utility functions for handling Arimaa timecontrols
|
|
50
|
+
(`util.py`).
|
|
51
|
+
|
|
52
|
+
## Installation
|
|
53
|
+
|
|
54
|
+
### For CLI Tools (Recommended)
|
|
55
|
+
|
|
56
|
+
If you just want to use the command-line tools, install with [uv](https://docs.astral.sh/uv/):
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
uv tool install aei
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
This creates an isolated environment for the AEI tools and makes them available in your PATH automatically. You can immediately run commands like `analyze`, `gameroom`, `roundrobin`, etc. without managing virtual environments.
|
|
63
|
+
|
|
64
|
+
### For Library Usage or Traditional Installation
|
|
65
|
+
|
|
66
|
+
If you need to import `pyrimaa` modules in your own Python code (for example, to use `pyrimaa.aei`, `pyrimaa.board`, or `pyrimaa.util`), use:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
uv pip install aei
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Or install from a source directory checkout:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
uv pip install .
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Or skipping `uv` and using plain `pip`:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
pip install aei
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### For Development
|
|
85
|
+
|
|
86
|
+
If you're contributing to the AEI project, install in editable mode:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
uv pip install -e .
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Or with pip:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
pip install -e .
|
|
96
|
+
```
|
|
97
|
+
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
LICENSE.txt
|
|
2
2
|
MANIFEST.in
|
|
3
|
-
|
|
3
|
+
README.md
|
|
4
4
|
analyze_example.cfg
|
|
5
5
|
example_position.txt
|
|
6
6
|
gameroom_example.cfg
|
|
7
|
-
|
|
7
|
+
pyproject.toml
|
|
8
8
|
roundrobin_example.cfg
|
|
9
|
-
setup.py
|
|
10
|
-
usage.rst
|
|
11
9
|
AEI.egg-info/PKG-INFO
|
|
12
10
|
AEI.egg-info/SOURCES.txt
|
|
13
11
|
AEI.egg-info/dependency_links.txt
|
|
14
12
|
AEI.egg-info/entry_points.txt
|
|
13
|
+
AEI.egg-info/requires.txt
|
|
15
14
|
AEI.egg-info/top_level.txt
|
|
16
15
|
pyrimaa/__init__.py
|
|
17
16
|
pyrimaa/aei.py
|
|
@@ -24,9 +23,11 @@ pyrimaa/roundrobin.py
|
|
|
24
23
|
pyrimaa/simple_engine.py
|
|
25
24
|
pyrimaa/test_runner.py
|
|
26
25
|
pyrimaa/util.py
|
|
27
|
-
pyrimaa/x88board.py
|
|
28
26
|
pyrimaa/tests/__init__.py
|
|
27
|
+
pyrimaa/tests/socketadapter.py
|
|
29
28
|
pyrimaa/tests/test_aei.py
|
|
30
29
|
pyrimaa/tests/test_analyze.py
|
|
30
|
+
pyrimaa/tests/test_board.py
|
|
31
31
|
pyrimaa/tests/test_game.py
|
|
32
|
+
pyrimaa/tests/test_simple_engine.py
|
|
32
33
|
pyrimaa/tests/test_util.py
|
|
@@ -3,7 +3,7 @@ authorization for use of the game Arimaa is given after the license.
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
Software License:
|
|
6
|
-
Copyright 2008-
|
|
6
|
+
Copyright 2008-2026 Brian Haskin Jr.
|
|
7
7
|
|
|
8
8
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
9
|
of this software and associated documentation files (the "Software"), to deal
|
aei-1.4.0/PKG-INFO
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: AEI
|
|
3
|
+
Version: 1.4.0
|
|
4
|
+
Summary: Arimaa Engine Interface tools
|
|
5
|
+
Author-email: Janzert <janzert@janzert.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://arimaa.janzert.com/aei
|
|
8
|
+
Project-URL: Source Code, https://github.com/janzert/aei
|
|
9
|
+
Keywords: Arimaa
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Intended Audience :: Developers
|
|
19
|
+
Classifier: Topic :: Games/Entertainment :: Board Games
|
|
20
|
+
Requires-Python: >=3.8
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE.txt
|
|
23
|
+
Provides-Extra: dev
|
|
24
|
+
Requires-Dist: coverage[toml]>=7.0; extra == "dev"
|
|
25
|
+
Requires-Dist: ruff>=0.8.0; extra == "dev"
|
|
26
|
+
Requires-Dist: pre-commit>=3.0.0; extra == "dev"
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
|
|
29
|
+
# AEI Readme
|
|
30
|
+
|
|
31
|
+
This package provides a specification for the Arimaa Engine Interface (AEI).
|
|
32
|
+
It also includes some tools for using engines that implement AEI. Including an
|
|
33
|
+
interface to the arimaa.com gameroom. A full description of AEI can be found in
|
|
34
|
+
the file `AEI_PROTOCOL.md`.
|
|
35
|
+
|
|
36
|
+
The scripts included for working with an AEI engine are:
|
|
37
|
+
|
|
38
|
+
- `analyze` - A simple script that runs an engine and has it search a given position or move sequence.
|
|
39
|
+
- `gameroom` - AEI controller that connects to the arimaa.com gameroom and plays a game.
|
|
40
|
+
- `postal_controller` - Keeps a bot making moves as needed in any postal games it is a participant in.
|
|
41
|
+
- `pyrimaa_tests` - Test runner utility.
|
|
42
|
+
- `roundrobin` - Plays engines against each other in a round robin tournament.
|
|
43
|
+
- `simple_engine` - Very basic AEI engine, just plays random step moves.
|
|
44
|
+
|
|
45
|
+
Basic examples of using the scripts can be found in the file `USAGE.md`.
|
|
46
|
+
|
|
47
|
+
The pyrimaa package also includes modules implementing the controller side of
|
|
48
|
+
the AEI protocol (`aei.py`), the Arimaa position representation (as bitboards
|
|
49
|
+
in `board.py`), and a few utility functions for handling Arimaa timecontrols
|
|
50
|
+
(`util.py`).
|
|
51
|
+
|
|
52
|
+
## Installation
|
|
53
|
+
|
|
54
|
+
### For CLI Tools (Recommended)
|
|
55
|
+
|
|
56
|
+
If you just want to use the command-line tools, install with [uv](https://docs.astral.sh/uv/):
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
uv tool install aei
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
This creates an isolated environment for the AEI tools and makes them available in your PATH automatically. You can immediately run commands like `analyze`, `gameroom`, `roundrobin`, etc. without managing virtual environments.
|
|
63
|
+
|
|
64
|
+
### For Library Usage or Traditional Installation
|
|
65
|
+
|
|
66
|
+
If you need to import `pyrimaa` modules in your own Python code (for example, to use `pyrimaa.aei`, `pyrimaa.board`, or `pyrimaa.util`), use:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
uv pip install aei
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Or install from a source directory checkout:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
uv pip install .
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Or skipping `uv` and using plain `pip`:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
pip install aei
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### For Development
|
|
85
|
+
|
|
86
|
+
If you're contributing to the AEI project, install in editable mode:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
uv pip install -e .
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Or with pip:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
pip install -e .
|
|
96
|
+
```
|
|
97
|
+
|
aei-1.4.0/README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# AEI Readme
|
|
2
|
+
|
|
3
|
+
This package provides a specification for the Arimaa Engine Interface (AEI).
|
|
4
|
+
It also includes some tools for using engines that implement AEI. Including an
|
|
5
|
+
interface to the arimaa.com gameroom. A full description of AEI can be found in
|
|
6
|
+
the file `AEI_PROTOCOL.md`.
|
|
7
|
+
|
|
8
|
+
The scripts included for working with an AEI engine are:
|
|
9
|
+
|
|
10
|
+
- `analyze` - A simple script that runs an engine and has it search a given position or move sequence.
|
|
11
|
+
- `gameroom` - AEI controller that connects to the arimaa.com gameroom and plays a game.
|
|
12
|
+
- `postal_controller` - Keeps a bot making moves as needed in any postal games it is a participant in.
|
|
13
|
+
- `pyrimaa_tests` - Test runner utility.
|
|
14
|
+
- `roundrobin` - Plays engines against each other in a round robin tournament.
|
|
15
|
+
- `simple_engine` - Very basic AEI engine, just plays random step moves.
|
|
16
|
+
|
|
17
|
+
Basic examples of using the scripts can be found in the file `USAGE.md`.
|
|
18
|
+
|
|
19
|
+
The pyrimaa package also includes modules implementing the controller side of
|
|
20
|
+
the AEI protocol (`aei.py`), the Arimaa position representation (as bitboards
|
|
21
|
+
in `board.py`), and a few utility functions for handling Arimaa timecontrols
|
|
22
|
+
(`util.py`).
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
### For CLI Tools (Recommended)
|
|
27
|
+
|
|
28
|
+
If you just want to use the command-line tools, install with [uv](https://docs.astral.sh/uv/):
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
uv tool install aei
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
This creates an isolated environment for the AEI tools and makes them available in your PATH automatically. You can immediately run commands like `analyze`, `gameroom`, `roundrobin`, etc. without managing virtual environments.
|
|
35
|
+
|
|
36
|
+
### For Library Usage or Traditional Installation
|
|
37
|
+
|
|
38
|
+
If you need to import `pyrimaa` modules in your own Python code (for example, to use `pyrimaa.aei`, `pyrimaa.board`, or `pyrimaa.util`), use:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
uv pip install aei
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Or install from a source directory checkout:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
uv pip install .
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Or skipping `uv` and using plain `pip`:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
pip install aei
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### For Development
|
|
57
|
+
|
|
58
|
+
If you're contributing to the AEI project, install in editable mode:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
uv pip install -e .
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Or with pip:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install -e .
|
|
68
|
+
```
|
|
69
|
+
|
aei-1.4.0/pyproject.toml
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "AEI"
|
|
7
|
+
version = "1.4.0"
|
|
8
|
+
description = "Arimaa Engine Interface tools"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
license = {text = "MIT"}
|
|
12
|
+
authors = [
|
|
13
|
+
{name = "Janzert", email = "janzert@janzert.com"}
|
|
14
|
+
]
|
|
15
|
+
keywords = ["Arimaa"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Programming Language :: Python",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3.8",
|
|
20
|
+
"Programming Language :: Python :: 3.9",
|
|
21
|
+
"Programming Language :: Python :: 3.10",
|
|
22
|
+
"Programming Language :: Python :: 3.11",
|
|
23
|
+
"Programming Language :: Python :: 3.12",
|
|
24
|
+
"Programming Language :: Python :: 3.13",
|
|
25
|
+
"Intended Audience :: Developers",
|
|
26
|
+
"Topic :: Games/Entertainment :: Board Games",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[project.urls]
|
|
30
|
+
Homepage = "https://arimaa.janzert.com/aei"
|
|
31
|
+
"Source Code" = "https://github.com/janzert/aei"
|
|
32
|
+
|
|
33
|
+
[project.scripts]
|
|
34
|
+
analyze = "pyrimaa.analyze:main"
|
|
35
|
+
gameroom = "pyrimaa.gameroom:main"
|
|
36
|
+
postal_controller = "pyrimaa.postal_controller:main"
|
|
37
|
+
pyrimaa_tests = "pyrimaa.test_runner:main"
|
|
38
|
+
roundrobin = "pyrimaa.roundrobin:main"
|
|
39
|
+
simple_engine = "pyrimaa.simple_engine:main"
|
|
40
|
+
|
|
41
|
+
[project.optional-dependencies]
|
|
42
|
+
dev = [
|
|
43
|
+
"coverage[toml]>=7.0",
|
|
44
|
+
"ruff>=0.8.0",
|
|
45
|
+
"pre-commit>=3.0.0",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[tool.setuptools]
|
|
49
|
+
packages = ["pyrimaa", "pyrimaa.tests"]
|
|
50
|
+
|
|
51
|
+
[tool.setuptools.package-data]
|
|
52
|
+
"*" = ["*.txt", "*.md", "*example.cfg"]
|
|
53
|
+
|
|
54
|
+
[tool.coverage.run]
|
|
55
|
+
source = ["pyrimaa"]
|
|
56
|
+
omit = [
|
|
57
|
+
"pyrimaa/tests/*",
|
|
58
|
+
"pyrimaa/test_runner.py",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[tool.coverage.report]
|
|
62
|
+
exclude_lines = [
|
|
63
|
+
"pragma: no cover",
|
|
64
|
+
"def __repr__",
|
|
65
|
+
"raise AssertionError",
|
|
66
|
+
"raise NotImplementedError",
|
|
67
|
+
"if __name__ == .__main__.:",
|
|
68
|
+
"if TYPE_CHECKING:",
|
|
69
|
+
]
|
|
70
|
+
precision = 2
|
|
71
|
+
|
|
72
|
+
[tool.coverage.html]
|
|
73
|
+
directory = "htmlcov"
|
|
74
|
+
|
|
75
|
+
[tool.ruff]
|
|
76
|
+
target-version = "py38"
|
|
77
|
+
line-length = 88
|
|
78
|
+
|
|
79
|
+
[tool.ruff.lint]
|
|
80
|
+
select = [
|
|
81
|
+
"E", # pycodestyle errors
|
|
82
|
+
"W", # pycodestyle warnings
|
|
83
|
+
"F", # pyflakes
|
|
84
|
+
"I", # isort
|
|
85
|
+
"B", # flake8-bugbear
|
|
86
|
+
"C4", # flake8-comprehensions
|
|
87
|
+
"UP", # pyupgrade
|
|
88
|
+
]
|
|
89
|
+
ignore = []
|
|
90
|
+
|
|
91
|
+
[tool.ruff.format]
|
|
92
|
+
quote-style = "double"
|