Commit Graph

8 Commits

Author SHA1 Message Date
Rémy Taymans
6a36c97ee4 Use last python image for linting
The linting check can be done on any docker image with the latest python
version.

This updates de pre-commit checks and fix file linting to conform to new
standards.
2023-11-09 17:02:24 +01:00
Rémy Taymans
debf57bac3 [ADD] dumpdb command 2023-07-12 08:32:57 +02:00
Rémy Taymans
40c54d2260 [FIX] missing newline in generated files
In a proper file each line end with a newline character, even the last
one.

Wrong file:

Using `write()` function does not add a newline character at the end of
the write. So writing a string in a file with `write()` leads to a file
like this:

```
line1\n
line2\n
lastline
```

Good file:

Using the `print()` command automatically ends the string with a newline
character. So that we ends with a proper file:
```
line1\n
line2\n
lastline\n
```

Also the with statement automatically closes the file at the end of the
block.
2023-03-17 08:54:44 +01:00
Sylvain LE GAL
531978eb00 [ADD] repos url git log! 2022-07-12 00:55:36 +02:00
Sylvain LE GAL
be74ce5bab [REF] Set correct dockerfile, based on odoo/debian ones. (for 12 to 15) 2022-07-11 13:43:55 +02:00
Sylvain LE GAL
80bd469095 [FIX] replace hardcoded 1000 value by os.getuid() 2022-06-29 17:52:58 +02:00
Sylvain LE GAL
b5419e5d19 [IMP] use LOCAL_USER_ID calling odoo-bedrock, so no need to create filestore and log folder with 777 2022-06-28 16:55:08 +02:00
Sylvain LE GAL
b37bfa8e31 [REF] create tools & cli folders 2022-06-27 01:57:31 +02:00