Skip to content

Commit 08f3edf

Browse files
authored
[3829][15.0][UPD] dotfiles (#2)
1 parent bef5e39 commit 08f3edf

File tree

5 files changed

+26
-20
lines changed

5 files changed

+26
-20
lines changed

.copier-answers.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.17.1
2+
_commit: v1.19
33
_src_path: https://github.com/OCA/oca-addons-repo-template.git
44
ci: GitHub
5-
dependency_installation_mode: PIP
5+
convert_readme_fragments_to_markdown: false
66
generate_requirements_txt: true
77
github_check_license: true
88
github_ci_extra_env: {}
@@ -16,10 +16,10 @@ odoo_version: 15.0
1616
org_name: Odoo Community Association (OCA)
1717
org_slug: qrtl
1818
rebel_module_groups: []
19-
repo_description: null
20-
repo_name: null
19+
repo_description: ''
20+
repo_name: STX OCA
2121
repo_slug: stx-oca
22-
repo_website: https://www.quartile.co
23-
travis_apt_packages: []
24-
travis_apt_sources: []
22+
repo_website: ''
23+
use_pyproject_toml: false
24+
use_ruff: false
2525

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-python@v2
18+
with:
19+
python-version: "3.11"
1820
- name: Get python version
1921
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
2022
- uses: actions/cache@v1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ __pycache__/
33
*.py[cod]
44
/.venv
55
/.pytest_cache
6+
/.ruff_cache
67

78
# C extensions
89
*.so

.pre-commit-config.yaml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ exclude: |
1414
^docs/_templates/.*\.html$|
1515
# Don't bother non-technical authors with formatting issues in docs
1616
readme/.*\.(rst|md)$|
17+
# Ignore build and dist directories in addons
18+
/build/|/dist/|
1719
# You don't usually want a bot to modify your legal texts
1820
(LICENSE.*|COPYING.*)
1921
default_language_version:
@@ -35,19 +37,20 @@ repos:
3537
language: fail
3638
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
3739
- repo: https://github.com/oca/maintainer-tools
38-
rev: 969238e47c07d0c40573acff81d170f63245d738
40+
rev: f71041f22b8cd68cf7c77b73a14ca8d8cd190a60
3941
hooks:
4042
# update the NOT INSTALLABLE ADDONS section above
4143
- id: oca-update-pre-commit-excluded-addons
4244
# - id: oca-fix-manifest-website
43-
# args: ["https://www.quartile.co"]
44-
- id: oca-gen-addon-readme
45-
args:
46-
- --addons-dir=.
47-
- --branch=15.0
48-
- --org-name=qrtl
49-
- --repo-name=stx-oca
50-
- --if-source-changed
45+
# args: [""]
46+
# - id: oca-gen-addon-readme
47+
# args:
48+
# - --addons-dir=.
49+
# - --branch=15.0
50+
# - --org-name=qrtl
51+
# - --repo-name=stx-oca
52+
# - --if-source-changed
53+
# - --keep-source-digest
5154
- repo: https://github.com/OCA/odoo-pre-commit-hooks
5255
rev: v0.0.25
5356
hooks:
@@ -108,7 +111,7 @@ repos:
108111
- id: check-symlinks
109112
- id: check-xml
110113
- id: mixed-line-ending
111-
args: ["--fix=lf"]
114+
args: ["--fix=lf"] # ruff doesn't support python 3.6
112115
- repo: https://github.com/asottile/pyupgrade
113116
rev: v2.29.0
114117
hooks:
@@ -139,7 +142,7 @@ repos:
139142
name: flake8
140143
additional_dependencies: ["flake8-bugbear==21.9.2"]
141144
- repo: https://github.com/OCA/pylint-odoo
142-
rev: 7.0.2
145+
rev: 7.0.5
143146
hooks:
144147
- id: pylint_odoo
145148
name: pylint with optional checks

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
<!-- /!\ do not modify above this line -->
99

10-
# None
10+
# STX OCA
11+
1112

12-
None
1313

1414
<!-- /!\ do not modify below this line -->
1515

0 commit comments

Comments
 (0)