Skip to content

Commit bd0782e

Browse files
committed
Update project.toml from template
1 parent adcaa1f commit bd0782e

File tree

5 files changed

+47
-7
lines changed

5 files changed

+47
-7
lines changed

.copier-answers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: d46567f
2+
_commit: 2f2f7c4
33
_src_path: https://github.com/ingadhoc/addons-repo-template.git
44
description: 'Aeroo Reports for Odoo
55
@@ -9,7 +9,7 @@ is_private: false
99
name: 'Aeroo Reports
1010
1111
'
12-
odoo_version: 18.0
12+
odoo_version: 19.0
1313
pre_commit_ignore: []
1414
slug: ''
1515

.github/workflows/cleaner.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
name: Delete PR branch from fork and base repo
66

77
on:
8-
9-
deployment_status:
8+
pull_request:
9+
types: [closed]
10+
pull_request_target:
11+
types: [closed]
1012

1113
# Trigger manual
1214
workflow_dispatch:
@@ -22,6 +24,8 @@ jobs:
2224
if: >
2325
github.repository_owner == 'ingadhoc' &&
2426
(
27+
(github.event_name == 'pull_request' && github.event.pull_request.merged == false && github.event.sender.login == 'roboadhoc') ||
28+
(github.event_name == 'pull_request_target' && github.event.pull_request.merged == false && github.event.sender.login == 'roboadhoc') ||
2529
(github.event_name == 'workflow_dispatch') ||
2630
(github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success')
2731
)
@@ -90,6 +94,8 @@ jobs:
9094
return;
9195
}
9296
97+
} else if (['pull_request', 'pull_request_target'].includes(context.eventName)) {
98+
pullRequest = context.payload.pull_request;
9399
} else {
94100
core.setOutput('validation_passed', 'false');
95101
core.error(`Unsupported event type: ${context.eventName}`);

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,36 @@ coverage.xml
6060

6161
# Sphinx documentation
6262
docs/_build/
63+
64+
### macOS ###
65+
# General
66+
.DS_Store
67+
.AppleDouble
68+
.LSOverride
69+
70+
# Icon must end with two \r
71+
Icon
72+
73+
74+
# Thumbnails
75+
._*
76+
77+
# Files that might appear in the root of a volume
78+
.DocumentRevisions-V100
79+
.fseventsd
80+
.Spotlight-V100
81+
.TemporaryItems
82+
.Trashes
83+
.VolumeIcon.icns
84+
.com.apple.timemachine.donotpresent
85+
86+
# Directories potentially created on remote AFP share
87+
.AppleDB
88+
.AppleDesktop
89+
Network Trash Folder
90+
Temporary Items
91+
.apdisk
92+
93+
### macOS Patch ###
94+
# iCloud generated files
95+
*.icloud

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Coverage Status](https://coveralls.io/repos/ingadhoc//badge.png?branch=18.0)](https://coveralls.io/r/ingadhoc/?branch=18.0)
1+
[![Coverage Status](https://coveralls.io/repos/ingadhoc//badge.png?branch=19.0)](https://coveralls.io/r/ingadhoc/?branch=19.0)
22
[![Code Climate](https://codeclimate.com/github/ingadhoc//badges/gpa.svg)](https://codeclimate.com/github/ingadhoc/)
33

44
# Aeroo Reports

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ ignore = [
2727
[tool.ruff.lint.pycodestyle]
2828
# line-length is set in [tool.ruff], and it's used by the formatter
2929
# in case the formatted can't autofix the line length, it will be reported as an error
30-
# only if it exceeds the max-line-length set here. We use 999 to effectively disable
30+
# only if it exceeds the max-line-length set here. We use 320 (max available value) to disable
3131
# this check.
32-
max-line-length = 999
32+
max-line-length = 320
3333

3434
[tool.ruff.lint.isort]
3535
combine-as-imports = true
@@ -46,6 +46,7 @@ known-third-party = [
4646
"urllib2",
4747
"yaml",
4848
]
49+
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
4950

5051
[tool.ruff.lint.mccabe]
5152
max-complexity = 20

0 commit comments

Comments
 (0)