File size: 554 Bytes
fe152d4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Code Quality Standards
description: Enforces code style and quality standards for the ER model project
events:
  - before_save
  - before_commit
actions:
  - name: Format with black
    command: black {file}
    shell: true
    continue_on_error: true
  
  - name: Sort imports
    command: isort {file}
    shell: true
    continue_on_error: true
  
  - name: Check type hints
    command: mypy {file}
    shell: true
    continue_on_error: true

globs:
  - "**/*.py"

exclude:
  - "**/venv/**"
  - "**/.env/**"
  - "**/build/**"
  - "**/dist/**"