basic-memory 0.4.0__tar.gz → 0.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of basic-memory might be problematic. Click here for more details.

Files changed (147) hide show
  1. {basic_memory-0.4.0 → basic_memory-0.4.1}/CHANGELOG.md +8 -0
  2. {basic_memory-0.4.0 → basic_memory-0.4.1}/PKG-INFO +2 -2
  3. {basic_memory-0.4.0 → basic_memory-0.4.1}/README.md +1 -1
  4. {basic_memory-0.4.0 → basic_memory-0.4.1}/pyproject.toml +1 -1
  5. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/__init__.py +1 -1
  6. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/db.py +7 -2
  7. basic_memory-0.4.0/alembic.ini +0 -119
  8. {basic_memory-0.4.0 → basic_memory-0.4.1}/.github/workflows/pr-title.yml +0 -0
  9. {basic_memory-0.4.0 → basic_memory-0.4.1}/.github/workflows/release.yml +0 -0
  10. {basic_memory-0.4.0 → basic_memory-0.4.1}/.github/workflows/test.yml +0 -0
  11. {basic_memory-0.4.0 → basic_memory-0.4.1}/.gitignore +0 -0
  12. {basic_memory-0.4.0 → basic_memory-0.4.1}/.python-version +0 -0
  13. {basic_memory-0.4.0 → basic_memory-0.4.1}/CITATION.cff +0 -0
  14. {basic_memory-0.4.0 → basic_memory-0.4.1}/CODE_OF_CONDUCT.md +0 -0
  15. {basic_memory-0.4.0 → basic_memory-0.4.1}/CONTRIBUTING.md +0 -0
  16. {basic_memory-0.4.0 → basic_memory-0.4.1}/LICENSE +0 -0
  17. {basic_memory-0.4.0 → basic_memory-0.4.1}/Makefile +0 -0
  18. {basic_memory-0.4.0 → basic_memory-0.4.1}/basic-memory.md +0 -0
  19. {basic_memory-0.4.0 → basic_memory-0.4.1}/installer/Basic.icns +0 -0
  20. {basic_memory-0.4.0 → basic_memory-0.4.1}/installer/README.md +0 -0
  21. {basic_memory-0.4.0 → basic_memory-0.4.1}/installer/icon.svg +0 -0
  22. {basic_memory-0.4.0 → basic_memory-0.4.1}/installer/installer.py +0 -0
  23. {basic_memory-0.4.0 → basic_memory-0.4.1}/installer/make_icons.sh +0 -0
  24. {basic_memory-0.4.0 → basic_memory-0.4.1}/installer/setup.py +0 -0
  25. {basic_memory-0.4.0 → basic_memory-0.4.1}/memory.json +0 -0
  26. {basic_memory-0.4.0 → basic_memory-0.4.1}/scripts/install.sh +0 -0
  27. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/alembic/README +0 -0
  28. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/alembic/env.py +0 -0
  29. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/alembic/migrations.py +0 -0
  30. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/alembic/script.py.mako +0 -0
  31. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/alembic/versions/3dae7c7b1564_initial_schema.py +0 -0
  32. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/api/__init__.py +0 -0
  33. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/api/app.py +0 -0
  34. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/api/routers/__init__.py +0 -0
  35. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/api/routers/knowledge_router.py +0 -0
  36. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/api/routers/memory_router.py +0 -0
  37. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/api/routers/resource_router.py +0 -0
  38. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/api/routers/search_router.py +0 -0
  39. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/__init__.py +0 -0
  40. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/app.py +0 -0
  41. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/commands/__init__.py +0 -0
  42. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/commands/db.py +0 -0
  43. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/commands/import_chatgpt.py +0 -0
  44. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/commands/import_claude_conversations.py +0 -0
  45. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/commands/import_claude_projects.py +0 -0
  46. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/commands/import_memory_json.py +0 -0
  47. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/commands/mcp.py +0 -0
  48. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/commands/status.py +0 -0
  49. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/commands/sync.py +0 -0
  50. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/cli/main.py +0 -0
  51. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/config.py +0 -0
  52. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/deps.py +0 -0
  53. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/file_utils.py +0 -0
  54. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/markdown/__init__.py +0 -0
  55. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/markdown/entity_parser.py +0 -0
  56. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/markdown/markdown_processor.py +0 -0
  57. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/markdown/plugins.py +0 -0
  58. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/markdown/schemas.py +0 -0
  59. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/markdown/utils.py +0 -0
  60. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/mcp/__init__.py +0 -0
  61. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/mcp/async_client.py +0 -0
  62. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/mcp/server.py +0 -0
  63. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/mcp/tools/__init__.py +0 -0
  64. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/mcp/tools/knowledge.py +0 -0
  65. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/mcp/tools/memory.py +0 -0
  66. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/mcp/tools/notes.py +0 -0
  67. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/mcp/tools/search.py +0 -0
  68. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/mcp/tools/utils.py +0 -0
  69. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/models/__init__.py +0 -0
  70. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/models/base.py +0 -0
  71. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/models/knowledge.py +0 -0
  72. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/models/search.py +0 -0
  73. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/repository/__init__.py +0 -0
  74. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/repository/entity_repository.py +0 -0
  75. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/repository/observation_repository.py +0 -0
  76. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/repository/relation_repository.py +0 -0
  77. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/repository/repository.py +0 -0
  78. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/repository/search_repository.py +0 -0
  79. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/schemas/__init__.py +0 -0
  80. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/schemas/base.py +0 -0
  81. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/schemas/delete.py +0 -0
  82. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/schemas/discovery.py +0 -0
  83. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/schemas/memory.py +0 -0
  84. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/schemas/request.py +0 -0
  85. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/schemas/response.py +0 -0
  86. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/schemas/search.py +0 -0
  87. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/services/__init__.py +0 -0
  88. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/services/context_service.py +0 -0
  89. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/services/entity_service.py +0 -0
  90. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/services/exceptions.py +0 -0
  91. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/services/file_service.py +0 -0
  92. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/services/link_resolver.py +0 -0
  93. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/services/search_service.py +0 -0
  94. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/services/service.py +0 -0
  95. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/sync/__init__.py +0 -0
  96. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/sync/file_change_scanner.py +0 -0
  97. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/sync/sync_service.py +0 -0
  98. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/sync/utils.py +0 -0
  99. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/sync/watch_service.py +0 -0
  100. {basic_memory-0.4.0 → basic_memory-0.4.1}/src/basic_memory/utils.py +0 -0
  101. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/api/conftest.py +0 -0
  102. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/api/test_knowledge_router.py +0 -0
  103. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/api/test_memory_router.py +0 -0
  104. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/api/test_resource_router.py +0 -0
  105. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/api/test_search_router.py +0 -0
  106. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/cli/test_import_chatgpt.py +0 -0
  107. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/cli/test_import_claude_conversations.py +0 -0
  108. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/cli/test_import_claude_projects.py +0 -0
  109. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/cli/test_import_memory_json.py +0 -0
  110. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/cli/test_status.py +0 -0
  111. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/cli/test_sync.py +0 -0
  112. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/conftest.py +0 -0
  113. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/edit_file_test.py +0 -0
  114. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/markdown/__init__.py +0 -0
  115. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/markdown/test_entity_parser.py +0 -0
  116. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/markdown/test_markdown_plugins.py +0 -0
  117. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/markdown/test_markdown_processor.py +0 -0
  118. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/markdown/test_observation_edge_cases.py +0 -0
  119. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/markdown/test_parser_edge_cases.py +0 -0
  120. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/markdown/test_relation_edge_cases.py +0 -0
  121. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/markdown/test_task_detection.py +0 -0
  122. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/mcp/conftest.py +0 -0
  123. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/mcp/test_tool_get_entity.py +0 -0
  124. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/mcp/test_tool_knowledge.py +0 -0
  125. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/mcp/test_tool_memory.py +0 -0
  126. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/mcp/test_tool_notes.py +0 -0
  127. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/mcp/test_tool_search.py +0 -0
  128. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/mcp/test_tool_utils.py +0 -0
  129. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/repository/test_entity_repository.py +0 -0
  130. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/repository/test_observation_repository.py +0 -0
  131. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/repository/test_relation_repository.py +0 -0
  132. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/repository/test_repository.py +0 -0
  133. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/schemas/test_memory_url.py +0 -0
  134. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/schemas/test_schemas.py +0 -0
  135. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/schemas/test_search.py +0 -0
  136. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/services/test_context_service.py +0 -0
  137. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/services/test_entity_service.py +0 -0
  138. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/services/test_file_service.py +0 -0
  139. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/services/test_link_resolver.py +0 -0
  140. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/services/test_search_service.py +0 -0
  141. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/sync/test_file_change_scanner.py +0 -0
  142. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/sync/test_sync_service.py +0 -0
  143. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/sync/test_watch_service.py +0 -0
  144. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/test_basic_memory.py +0 -0
  145. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/utils/test_file_utils.py +0 -0
  146. {basic_memory-0.4.0 → basic_memory-0.4.1}/tests/utils/test_permalink_formatting.py +0 -0
  147. {basic_memory-0.4.0 → basic_memory-0.4.1}/uv.lock +0 -0
@@ -1,6 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## v0.4.1 (2025-02-17)
5
+
6
+ ### Bug Fixes
7
+
8
+ - Fix alemic config
9
+ ([`71de8ac`](https://github.com/basicmachines-co/basic-memory/commit/71de8acfd0902fc60f27deb3638236a3875787ab))
10
+
11
+
4
12
  ## v0.4.0 (2025-02-16)
5
13
 
6
14
  ### Features
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: basic-memory
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Local-first knowledge management combining Zettelkasten with knowledge graphs
5
5
  Project-URL: Homepage, https://github.com/basicmachines-co/basic-memory
6
6
  Project-URL: Repository, https://github.com/basicmachines-co/basic-memory
@@ -299,7 +299,7 @@ including
299
299
  Import Claude.ai conversation data
300
300
 
301
301
  ```bash
302
- basic-memory import claude conversations conversations.json
302
+ basic-memory import claude conversations
303
303
  ```
304
304
 
305
305
  The conversations will be turned into Markdown files and placed in the "conversations" folder by default (this can be
@@ -266,7 +266,7 @@ including
266
266
  Import Claude.ai conversation data
267
267
 
268
268
  ```bash
269
- basic-memory import claude conversations conversations.json
269
+ basic-memory import claude conversations
270
270
  ```
271
271
 
272
272
  The conversations will be turned into Markdown files and placed in the "conversations" folder by default (this can be
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "basic-memory"
3
- version = "0.4.0"
3
+ version = "0.4.1"
4
4
  description = "Local-first knowledge management combining Zettelkasten with knowledge graphs"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12.1"
@@ -1,3 +1,3 @@
1
1
  """basic-memory - Local-first knowledge management combining Zettelkasten with knowledge graphs"""
2
2
 
3
- __version__ = "0.4.0"
3
+ __version__ = "0.4.1"
@@ -134,7 +134,12 @@ async def run_migrations(app_config: ProjectConfig, database_type=DatabaseType.F
134
134
  """Run any pending alembic migrations."""
135
135
  logger.info("Running database migrations...")
136
136
  try:
137
- config = Config("alembic.ini")
137
+ # Get the absolute path to the alembic directory relative to this file
138
+ alembic_dir = Path(__file__).parent / "alembic"
139
+ config = Config()
140
+ config.set_main_option("script_location", str(alembic_dir))
141
+ config.set_main_option("sqlalchemy.url", "driver://user:pass@localhost/dbname")
142
+
138
143
  command.upgrade(config, "head")
139
144
  logger.info("Migrations completed successfully")
140
145
 
@@ -142,4 +147,4 @@ async def run_migrations(app_config: ProjectConfig, database_type=DatabaseType.F
142
147
  await SearchRepository(session_maker).init_search_index()
143
148
  except Exception as e: # pragma: no cover
144
149
  logger.error(f"Error running migrations: {e}")
145
- raise
150
+ raise
@@ -1,119 +0,0 @@
1
- # A generic, single database configuration.
2
-
3
- [alembic]
4
- # path to migration scripts
5
- # Use forward slashes (/) also on windows to provide an os agnostic path
6
- script_location = src/basic_memory/alembic
7
-
8
- # template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
9
- # Uncomment the line below if you want the files to be prepended with date and time
10
- # see https://alembic.sqlalchemy.org/en/latest/tutorial.html#editing-the-ini-file
11
- # for all available tokens
12
- # file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s
13
-
14
- # sys.path path, will be prepended to sys.path if present.
15
- # defaults to the current working directory.
16
- prepend_sys_path = .
17
-
18
- # timezone to use when rendering the date within the migration file
19
- # as well as the filename.
20
- # If specified, requires the python>=3.9 or backports.zoneinfo library and tzdata library.
21
- # Any required deps can installed by adding `alembic[tz]` to the pip requirements
22
- # string value is passed to ZoneInfo()
23
- # leave blank for localtime
24
- # timezone =
25
-
26
- # max length of characters to apply to the "slug" field
27
- # truncate_slug_length = 40
28
-
29
- # set to 'true' to run the environment during
30
- # the 'revision' command, regardless of autogenerate
31
- # revision_environment = false
32
-
33
- # set to 'true' to allow .pyc and .pyo files without
34
- # a source .py file to be detected as revisions in the
35
- # versions/ directory
36
- # sourceless = false
37
-
38
- # version location specification; This defaults
39
- # to migrations/versions. When using multiple version
40
- # directories, initial revisions must be specified with --version-path.
41
- # The path separator used here should be the separator specified by "version_path_separator" below.
42
- # version_locations = %(here)s/bar:%(here)s/bat:migrations/versions
43
-
44
- # version path separator; As mentioned above, this is the character used to split
45
- # version_locations. The default within new alembic.ini files is "os", which uses os.pathsep.
46
- # If this key is omitted entirely, it falls back to the legacy behavior of splitting on spaces and/or commas.
47
- # Valid values for version_path_separator are:
48
- #
49
- # version_path_separator = :
50
- # version_path_separator = ;
51
- # version_path_separator = space
52
- # version_path_separator = newline
53
- #
54
- # Use os.pathsep. Default configuration used for new projects.
55
- version_path_separator = os
56
-
57
- # set to 'true' to search source files recursively
58
- # in each "version_locations" directory
59
- # new in Alembic version 1.10
60
- # recursive_version_locations = false
61
-
62
- # the output encoding used when revision files
63
- # are written from script.py.mako
64
- # output_encoding = utf-8
65
-
66
- sqlalchemy.url = driver://user:pass@localhost/dbname
67
-
68
-
69
- [post_write_hooks]
70
- # post_write_hooks defines scripts or Python functions that are run
71
- # on newly generated revision scripts. See the documentation for further
72
- # detail and examples
73
-
74
- # format using "black" - use the console_scripts runner, against the "black" entrypoint
75
- # hooks = black
76
- # black.type = console_scripts
77
- # black.entrypoint = black
78
- # black.options = -l 79 REVISION_SCRIPT_FILENAME
79
-
80
- # lint with attempts to fix using "ruff" - use the exec runner, execute a binary
81
- # hooks = ruff
82
- # ruff.type = exec
83
- # ruff.executable = %(here)s/.venv/bin/ruff
84
- # ruff.options = --fix REVISION_SCRIPT_FILENAME
85
-
86
- # Logging configuration
87
- [loggers]
88
- keys = root,sqlalchemy,alembic
89
-
90
- [handlers]
91
- keys = console
92
-
93
- [formatters]
94
- keys = generic
95
-
96
- [logger_root]
97
- level = WARNING
98
- handlers = console
99
- qualname =
100
-
101
- [logger_sqlalchemy]
102
- level = WARNING
103
- handlers =
104
- qualname = sqlalchemy.engine
105
-
106
- [logger_alembic]
107
- level = INFO
108
- handlers =
109
- qualname = alembic
110
-
111
- [handler_console]
112
- class = StreamHandler
113
- args = (sys.stderr,)
114
- level = NOTSET
115
- formatter = generic
116
-
117
- [formatter_generic]
118
- format = %(levelname)-5.5s [%(name)s] %(message)s
119
- datefmt = %H:%M:%S
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes