Skip to content

Commit cc5d406

Browse files
authored
chore: update dev configs (#316)
1 parent 93dd4f6 commit cc5d406

File tree

4 files changed

+30
-34
lines changed

4 files changed

+30
-34
lines changed

.gitignore

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,53 @@
1+
# Cache
12
__pycache__
23
.mypy_cache
34
.pytest_cache
45
.ruff_cache
56

7+
# Virtual envs
68
.venv
79
.direnv
810
.envrc
911
.python-version
1012

13+
# Poetry
1114
poetry.toml
1215
poetry.lock
1316

17+
# Mise
18+
mise.toml
19+
.mise.toml
20+
21+
# Egg and build artifacts
1422
*.egg-info/
1523
*.egg
1624
dist/
1725
build/
26+
27+
# Coverage reports
1828
.coverage*
1929
htmlcov
2030

31+
# IDE, editors
2132
.vscode
2233
.idea
2334
.DS_Store
35+
.nvim.lua
36+
Session.vim
2437

38+
# Docs
2539
docs/changelog.md
2640

27-
# default folder for memory storage data
41+
# Website build artifacts, node dependencies
42+
website/build
43+
website/node_modules
44+
website/.yarn
45+
website/.docusaurus
46+
website/api-typedoc-generated.json
47+
website/apify-shared-docspec-dump.jsonl
48+
website/docspec-dump.jsonl
49+
website/module_shortcuts.json
50+
website/typedoc-types*
51+
52+
# Default directory for memory storage
2853
storage/

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: local
33
hooks:
4-
- id: lint
5-
name: Lint codebase
4+
- id: lint-check
5+
name: Lint check
66
entry: make lint
77
language: system
88
pass_filenames: false
99

1010
- id: type-check
11-
name: Type-check codebase
11+
name: Type check
1212
entry: make type-check
1313
language: system
1414
pass_filenames: false

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,6 @@ indent-style = "space"
121121
"**/__init__.py" = [
122122
"F401", # Unused imports
123123
]
124-
"**/{scripts}/*" = [
125-
"D", # Everything from the pydocstyle
126-
"INP001", # File {filename} is part of an implicit namespace package, add an __init__.py
127-
"PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
128-
"T20", # flake8-print
129-
]
130124
"**/{tests}/*" = [
131125
"D", # Everything from the pydocstyle
132126
"INP001", # File {filename} is part of an implicit namespace package, add an __init__.py
@@ -169,7 +163,7 @@ timeout = 1200
169163
[tool.mypy]
170164
python_version = "3.9"
171165
plugins = ["pydantic.mypy"]
172-
files = ["scripts", "src", "tests"]
166+
files = ["src", "tests"]
173167
check_untyped_defs = true
174168
disallow_incomplete_defs = true
175169
disallow_untyped_calls = true

website/.gitignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)