Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,53 @@
# Cache
__pycache__
.mypy_cache
.pytest_cache
.ruff_cache

# Virtual envs
.venv
.direnv
.envrc
.python-version

# Poetry
poetry.toml
poetry.lock

# Mise
mise.toml
.mise.toml

# Egg and build artifacts
*.egg-info/
*.egg
dist/
build/

# Coverage reports
.coverage*
htmlcov

# IDE, editors
.vscode
.idea
.DS_Store
.nvim.lua
Session.vim

# Docs
docs/changelog.md

# default folder for memory storage data
# Website build artifacts, node dependencies
website/build
website/node_modules
website/.yarn
website/.docusaurus
website/api-typedoc-generated.json
website/apify-shared-docspec-dump.jsonl
website/docspec-dump.jsonl
website/module_shortcuts.json
website/typedoc-types*

# Default directory for memory storage
storage/
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
repos:
- repo: local
hooks:
- id: lint
name: Lint codebase
- id: lint-check
name: Lint check
entry: make lint
language: system
pass_filenames: false

- id: type-check
name: Type-check codebase
name: Type check
entry: make type-check
language: system
pass_filenames: false
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,6 @@ indent-style = "space"
"**/__init__.py" = [
"F401", # Unused imports
]
"**/{scripts}/*" = [
"D", # Everything from the pydocstyle
"INP001", # File {filename} is part of an implicit namespace package, add an __init__.py
"PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
"T20", # flake8-print
]
"**/{tests}/*" = [
"D", # Everything from the pydocstyle
"INP001", # File {filename} is part of an implicit namespace package, add an __init__.py
Expand Down Expand Up @@ -169,7 +163,7 @@ timeout = 1200
[tool.mypy]
python_version = "3.9"
plugins = ["pydantic.mypy"]
files = ["scripts", "src", "tests"]
files = ["src", "tests"]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
Expand Down
23 changes: 0 additions & 23 deletions website/.gitignore

This file was deleted.

Loading