This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
112 lines (103 loc) · 2.74 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[tool.poetry]
name = "game-theory"
version = "0.1.0"
description = "This is study repo with works&labs in Game Theory and Operations Research course"
license = "MIT"
authors = ["Alexey N. Alexandrov <alexandrov-iu8@mail.ru>"]
repository = "https://github.com/aaaaaaaalesha/10-game_theory"
# README file(s) are used as the package description
readme = ["README.md", "LICENSE"]
[tool.poetry.dependencies]
# Compatible Python versions.
python = "^3.10"
# The fundamental package for scientific computing with Python
numpy = "^1.26.4"
# Fast, powerful and easy to use data analysis tool.
pandas = "^2.2.1"
# Easily displaying tabular data in ASCII table format.
prettytable = "^3.9.0"
# Fundamental algorithms for scientific computing in Python.
scipy = "^1.12.0"
# Comprehensive library for visualizations and plots.
matplotlib = "^3.8.2"
# Web-based notebook environment for interactive computing.
notebook = "^7.0.7"
annotated-types = "^0.6.0"
sympy = "^1.12"
[tool.poetry.group.dev.dependencies]
# Framework for managing pre-commit hooks.
pre-commit = "^3.6.1"
# Fast Python linter and code formatter.
ruff = "^0.2.1"
# To convert Jupyter Notebooks to PDF/TEX.
nbconvert = "^7.16.1"
[tool.ruff]
# The directories to consider when resolving first- vs. third-party imports.
src = ["game_theory"]
# Allow lines length.
line-length = 120
# Whether to show an enumeration of all fixed lint violations.
show-fixes = true
# Also scan Jupyter Notebooks.
extend-include = ["*.ipynb"]
[tool.ruff.lint]
# A list of rule codes or prefixes to enable,
# in addition to those specified by select.
extend-select = [
# flake8-bugbear
"B",
# isort
"I",
# flake8-unused-arguments
"ARG",
# flake8-comprehensions
"C4",
# flake8-errmsg
"EM",
# flake8-import-conventions
"ICN",
# flake8-logging-format
"G",
# pygrep-hooks
"PGH",
# flake8-pie
"PIE",
# pylint
"PL",
# flake8-use-pathlib
"PTH",
# flake8-return
"RET",
# Ruff-specific
"RUF",
# flake8-simplify
"SIM",
# pyupgrade
"UP",
# flake8-2020
"YTT",
# NumPy specific rules
"NPY",
# pandas-vet
"PD",
# flake8-pyi
"PYI",
]
# A list of rule codes or prefixes to ignore.
ignore = [
"PLR09", # Too many <...>
"PLR2004", # Magic value used in comparison
"ISC001", # Conflicts with formatter
"G004", # f-strings in logging
]
# A list of allowed "confusable" Unicode chars to ignore
# when enforcing RUF001, RUF002, and RUF003.
allowed-confusables = [
"а", "А", "в", "В", "е", "Е", "к", "К",
"н", "Н", "о", "О", "р", "Р", "с", "С",
"т", "Т", "г", "Г", "у", "У", "х", "Х",
"α", "б",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"