Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Commit 414265f

Browse files
committed
Fix merge conflicts
1 parent c5e0f1e commit 414265f

11 files changed

+34
-158
lines changed

.github/workflows/test.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ jobs:
2626
- os: ubuntu-latest
2727
python: "3.10"
2828
- os: ubuntu-latest
29-
python: "3.10"
29+
python: "3.11"
30+
- os: ubuntu-latest
31+
python: "3.11"
3032
pip-flags: "--pre"
33+
name: PRE-RELEASE DEPENDENCIES
34+
35+
name: ${{ matrix.name }} Python ${{ matrix.python }}
3136

3237
env:
3338
OS: ${{ matrix.os }}

.github/workflows/test.yaml.rej

-17
This file was deleted.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ __pycache__/
2626
# IDEs
2727
/.idea/
2828
/.vscode/
29+
*.code-workspace
2930

3031
/node_modules

.pre-commit-config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ repos:
1515
hooks:
1616
- id: ruff
1717
args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]
18+
types_or: [python, pyi, jupyter]
1819
- id: ruff-format
20+
types_or: [python, pyi, jupyter]
1921
- repo: https://github.com/pre-commit/pre-commit-hooks
2022
rev: v4.5.0
2123
hooks:
@@ -26,6 +28,8 @@ repos:
2628
args: [--fix=lf]
2729
- id: trailing-whitespace
2830
- id: check-case-conflict
31+
- id: check-merge-conflict
32+
args: [--assume-in-merge]
2933
- repo: https://github.com/pre-commit/mirrors-mypy
3034
rev: v1.8.0
3135
hooks:

.pre-commit-config.yaml.rej

-44
This file was deleted.

README.md.rej

-10
This file was deleted.

docs/conf.py

+4-14
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,7 @@
120120

121121
pygments_style = "default"
122122

123-
124-
def setup(app):
125-
"""App setup hook."""
126-
app.add_config_value(
127-
"recommonmark_config",
128-
{
129-
"auto_toc_tree_section": "Contents",
130-
"enable_auto_toc_tree": True,
131-
"enable_math": True,
132-
"enable_inline_math": False,
133-
"enable_eval_rst": True,
134-
},
135-
True,
136-
)
123+
nitpick_ignore: list[tuple[str, str]] = [
124+
# you can add an exception to this list.
125+
# ("py:class", "igraph.Graph"),
126+
]

docs/conf.py.rej

-20
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"folders": [
3+
{
4+
"path": ".",
5+
},
6+
{
7+
"path": "../formulaic",
8+
},
9+
],
10+
"settings": {},
11+
}

pyproject.toml

+8-2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ addopts = [
7070
[tool.ruff]
7171
src = ["src"]
7272
line-length = 120
73+
extend-include = ["*.ipynb"]
74+
75+
[tool.ruff.format]
76+
docstring-code-format = true
77+
78+
[tool.ruff.lint]
7379
select = [
7480
"F", # Errors detected by Pyflakes
7581
"E", # Error detected by Pycodestyle
@@ -112,10 +118,10 @@ ignore = [
112118
"B018"
113119
]
114120

115-
[tool.ruff.pydocstyle]
121+
[tool.ruff.lint.pydocstyle]
116122
convention = "numpy"
117123

118-
[tool.ruff.per-file-ignores]
124+
[tool.ruff.lint.per-file-ignores]
119125
"docs/*" = ["I"]
120126
"tests/*" = ["D"]
121127
"*/__init__.py" = ["F401"]

pyproject.toml.rej

-50
This file was deleted.

0 commit comments

Comments
 (0)