OCA / pms

Property Management System on Odoo
GNU Affero General Public License v3.0
68 stars 83 forks source link

[14.0] make precommit green again #218

Closed robinkeunen closed 11 months ago

robinkeunen commented 1 year ago

This is an attempt at fixing precommit. The first commit gathers trivial changes

carmenbianca commented 1 year ago

@robinkeunen I changed the get-pip.py incoherent-interpreter-exec-perm by setting chmod +x on that file. It either expects both executive permissions AND a shebang, or neither, but not a mix of both. This is poorly documented.

I've also bumped the template to get rid of some errors.

It doesn't seem to me like you've suppressed all the eslint errors. Depending on the maintainers, I think you can just disable eslint and open an issue with a reminder to re-enable it.

robinkeunen commented 1 year ago

I did not touch js indeed. Let's see what Dario thinks about muting eslint.

robinkeunen commented 1 year ago

Hi @DarioLodeiros , this PR makes pre-commit green with a combination of trivial fixes to some errors, silencing others and adapting the config for eslint.

Fo you think it would be merged ?

robinkeunen commented 1 year ago

@DarioLodeiros I rebased and fixed the commits.

robinkeunen commented 1 year ago

@miguelpadin @carmenbianca @voltrans-it-johan can you give me you POV on this PRs and my other PRs on pms ?

DarioLodeiros commented 1 year ago

@robinkeunen can you do a rebase 14 in this branch?

robinkeunen commented 1 year ago

@DarioLodeiros done 👍

bosd commented 11 months ago

What is the status of this one?

robinkeunen commented 11 months ago

It was ready for me. @DarioLodeiros ?

bosd commented 11 months ago

Who has the super powers here to merge?

robinkeunen commented 11 months ago

further fixes there : https://github.com/OCA/pms/pull/243