Skip to content

Commit 1884593

Browse files
authored
chore: update dev configs (#283)
1 parent 89a39e2 commit 1884593

File tree

4 files changed

+37
-32
lines changed

4 files changed

+37
-32
lines changed

.gitignore

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +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
14+
poetry.toml
15+
poetry.lock
16+
17+
# Mise
18+
mise.toml
19+
.mise.toml
20+
21+
# Egg and build artifacts
1122
*.egg-info/
1223
*.egg
1324
dist/
1425
build/
15-
.coverage
26+
27+
# Coverage reports
28+
.coverage*
1629
htmlcov
1730

31+
# IDE, editors
1832
.vscode
1933
.idea
2034
.DS_Store
35+
.nvim.lua
36+
Session.vim
2137

38+
# Docs
2239
docs/changelog.md
2340

24-
# 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
2553
storage/

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
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
1515

16-
- id: check-async-docstrings
17-
name: Check async docstrings
16+
- id: async-docstrings-check
17+
name: Async docstrings check
1818
entry: make check-async-docstrings
1919
language: system
2020
pass_filenames: false

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ apify_client = ApifyClient('MY-APIFY-TOKEN')
273273
# Start an Actor and waits for it to finish
274274
finished_actor_run = apify_client.actor('username/actor-name').call()
275275

276-
# Starts an Actor and waits maximum 60s (1 minute) for the finish
276+
# Starts an Actor and waits maximum 60s (1 minute) for the finish
277277
actor_run = apify_client.actor('username/actor-name').start(wait_for_finish=60)
278278
```
279279

@@ -304,7 +304,7 @@ while True:
304304
response = dataset_client.list_items(limit=limit, offset=offset)
305305
items = response.items
306306
total = response.total
307-
307+
308308
print(f'Fetched {len(items)} items')
309309

310310
# Merge new items with other already loaded items

website/.gitignore

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

0 commit comments

Comments
 (0)