Skip to content

Commit a5e0f99

Browse files
committed
Update dotfiles
1 parent 1ad9112 commit a5e0f99

6 files changed

Lines changed: 34 additions & 15 deletions

File tree

.copier-answers.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.4.0
2+
_commit: v1.5.2
33
_src_path: git+https://github.com/OCA/oca-addons-repo-template
44
ci: GitHub
55
dependency_installation_mode: PIP
66
generate_requirements_txt: true
77
include_wkhtmltopdf: false
88
odoo_version: 14.0
9+
org_name: Odoo Community Association (OCA)
10+
org_slug: OCA
911
rebel_module_groups: []
1012
repo_description: null
1113
repo_name: MIS Builder
1214
repo_slug: mis-builder
15+
repo_website: https://github.com/OCA/mis-builder
1316
travis_apt_packages: []
1417
travis_apt_sources: []

.eslintrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44

55
# See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449
66
parserOptions:
7-
ecmaVersion: 2017
7+
ecmaVersion: 2019
88

99
overrides:
1010
- files:

.github/workflows/pre-commit.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,19 @@ name: pre-commit
22

33
on:
44
pull_request:
5+
branches:
6+
- "14.0*"
57
push:
8+
branches:
9+
- "14.0"
10+
- "14.0-ocabot-*"
611

712
jobs:
813
pre-commit:
914
runs-on: ubuntu-latest
1015
steps:
1116
- uses: actions/checkout@v2
1217
- uses: actions/setup-python@v2
13-
with:
14-
# The pylint-odoo version we use here does not support python 3.10
15-
# https://github.com/OCA/oca-addons-repo-template/issues/80
16-
# We also need to pin to an older version of python for older odoo versions
17-
# where we are not using black > 21. Older black versions won't work with
18-
# Python 3.9.8+, and we can't bump black without reformatting.
19-
python-version: "3.9.7"
2018
- name: Get python version
2119
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
2220
- uses: actions/cache@v1

.github/workflows/test.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,27 @@ on:
66
- "14.0*"
77
push:
88
branches:
9-
- "14.0*"
9+
- "14.0"
10+
- "14.0-ocabot-*"
1011

1112
jobs:
13+
unreleased-deps:
14+
runs-on: ubuntu-latest
15+
name: Detect unreleased dependencies
16+
steps:
17+
- uses: actions/checkout@v2
18+
- run: |
19+
for reqfile in requirements.txt test-requirements.txt ; do
20+
if [ -f ${reqfile} ] ; then
21+
result=0
22+
# reject non-comment lines that contain a / (i.e. URLs, relative paths)
23+
grep "^[^#].*/" ${reqfile} || result=$?
24+
if [ $result -eq 0 ] ; then
25+
echo "Unreleased dependencies found in ${reqfile}."
26+
exit 1
27+
fi
28+
fi
29+
done
1230
test:
1331
runs-on: ubuntu-latest
1432
container: ${{ matrix.container }}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ repos:
4646
- --remove-duplicate-keys
4747
- --remove-unused-variables
4848
- repo: https://github.com/psf/black
49-
rev: 20.8b1
49+
rev: 22.3.0
5050
hooks:
5151
- id: black
5252
- repo: https://github.com/pre-commit/mirrors-prettier
@@ -120,7 +120,7 @@ repos:
120120
name: flake8
121121
additional_dependencies: ["flake8-bugbear==20.1.4"]
122122
- repo: https://github.com/PyCQA/pylint
123-
rev: pylint-2.5.3
123+
rev: v2.11.1
124124
hooks:
125125
- id: pylint
126126
name: pylint with optional checks
@@ -129,7 +129,7 @@ repos:
129129
- --exit-zero
130130
verbose: true
131131
additional_dependencies: &pylint_deps
132-
- pylint-odoo==3.5.0
132+
- pylint-odoo==5.0.5
133133
- id: pylint
134134
name: pylint with mandatory checks
135135
args:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
[![Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)](https://runboat.odoo-community.org/builds?repo=OCA/mis-builder&target_branch=14.0)
23
[![Pre-commit Status](https://github.com/OCA/mis-builder/actions/workflows/pre-commit.yml/badge.svg?branch=14.0)](https://github.com/OCA/mis-builder/actions/workflows/pre-commit.yml?query=branch%3A14.0)
34
[![Build Status](https://github.com/OCA/mis-builder/actions/workflows/test.yml/badge.svg?branch=14.0)](https://github.com/OCA/mis-builder/actions/workflows/test.yml?query=branch%3A14.0)
@@ -65,12 +66,11 @@ addon | version | maintainers | summary
6566

6667
This repository is licensed under [AGPL-3.0](LICENSE).
6768

68-
However, each module can have a totally different license, as long as they adhere to OCA
69+
However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA)
6970
policy. Consult each module's `__manifest__.py` file, which contains a `license` key
7071
that explains its license.
7172

7273
----
73-
7474
OCA, or the [Odoo Community Association](http://odoo-community.org/), is a nonprofit
7575
organization whose mission is to support the collaborative development of Odoo features
7676
and promote its widespread use.

0 commit comments

Comments
 (0)