Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jun 15, 2025

The openeop-gen files do not follow our formatting and whitespace expectations - which means that our linting rules and whitespace pre-commit might complain and mofify them after they are generated.

But we definitely do not want it and, hey - they are generated so we should just skip them whenever we do linting or whitespace correction.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

The openeop-gen files do not follow our formatting and whitespace
expectations - which means that our linting rules and whitespace
pre-commit might complain and mofify them after they are generated.

But we definitely do not want it and, hey - they are generated so we
should just skip them whenever we do linting or whitespace correction.
@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:dev-tools area:UI Related to UI/UX. For Frontend Developers. labels Jun 15, 2025
@potiuk potiuk added this to the Airflow 3.0.3 milestone Jun 15, 2025
@potiuk potiuk added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Jun 15, 2025
@choo121600
Copy link
Member

Cool! This will make contributing much smoother🙌

@potiuk potiuk merged commit 2c92125 into apache:main Jun 15, 2025
101 checks passed
@potiuk potiuk deleted the exclude-gen-files branch June 15, 2025 12:13
@github-actions
Copy link

Backport failed to create: v3-0-test. View the failure log Run details

Status Branch Result
v3-0-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 2c92125 v3-0-test

This should apply the commit to the v3-0-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

@potiuk
Copy link
Member Author

potiuk commented Jun 15, 2025

Cool! This will make contributing much smoother🙌

Let me know if you have any more problems with it :)

potiuk added a commit to potiuk/airflow that referenced this pull request Jun 15, 2025
…pache#51755)

The openeop-gen files do not follow our formatting and whitespace
expectations - which means that our linting rules and whitespace
pre-commit might complain and mofify them after they are generated.

But we definitely do not want it and, hey - they are generated so we
should just skip them whenever we do linting or whitespace correction.
(cherry picked from commit 2c92125)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@jscheffl
Copy link
Contributor

Cool! Thanks! Tested with my other PR and can confirm the pre-commit glitch if fixed!

potiuk added a commit to potiuk/airflow that referenced this pull request Jun 15, 2025
…pache#51755)

The openeop-gen files do not follow our formatting and whitespace
expectations - which means that our linting rules and whitespace
pre-commit might complain and mofify them after they are generated.

But we definitely do not want it and, hey - they are generated so we
should just skip them whenever we do linting or whitespace correction.
(cherry picked from commit 2c92125)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
potiuk added a commit that referenced this pull request Jun 15, 2025
…51755) (#51757)

The openeop-gen files do not follow our formatting and whitespace
expectations - which means that our linting rules and whitespace
pre-commit might complain and mofify them after they are generated.

But we definitely do not want it and, hey - they are generated so we
should just skip them whenever we do linting or whitespace correction.
(cherry picked from commit 2c92125)
choo121600 added a commit to choo121600/airflow that referenced this pull request Jun 16, 2025
Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's still code that we read to contribute to the UI (Understand functions inputs and ouputs, which endpoint is call under the hood etc...)

I think it makes it harder to understand. (but I understand the change).

choo121600 added a commit to choo121600/airflow that referenced this pull request Jun 17, 2025
choo121600 added a commit to choo121600/airflow that referenced this pull request Jun 17, 2025
choo121600 added a commit to choo121600/airflow that referenced this pull request Jun 19, 2025
potiuk pushed a commit that referenced this pull request Jun 20, 2025
…reduce bundle size (#51735)

* Feat(i18n): Move translation files to public, use i18next-http-backend

* Adopted i18next-http-backend

* Fix(i18n): Update locales directory path to public for translation files

* Fix(i18n): Update static file path for translation locales

* Fix(i18n): Update translation config file path

* Fix(i18n): Update ESLint configuration to include jsonc-parser

* Fix(i18n): Update ESLint file patterns and add 'components' to namespaces

* Fix(i18n): Initialize i18n(en) in DagCard tests

* chore: enforce consistent array type syntax per @typescript-eslint rule

* Revert "chore: enforce consistent array type syntax per @typescript-eslint rule"

This reverts commit d218738.

* Fix(i18n): Ignore i18n locale files in ESLint TypeScript rules

* Fix(tests): Remove unused imports and clean up test setup

* Apply pre-commit formatting to openapi-gen/ files as per #51755

* Fix(eslint): Update i18n and TypeScript rules configuration

* Apply ESLint and i18nRule

* Mov Arabic and French translations to public

* Fix: Update translation file paths to public directory

* Moved i18n doc and completeness checker script from public to dev/i18n

* fix(i18n): i18n policy document translation completeness check command
RoyLee1224 pushed a commit to RoyLee1224/airflow that referenced this pull request Jun 21, 2025
The openeop-gen files do not follow our formatting and whitespace
expectations - which means that our linting rules and whitespace
pre-commit might complain and mofify them after they are generated.

But we definitely do not want it and, hey - they are generated so we
should just skip them whenever we do linting or whitespace correction.
RoyLee1224 pushed a commit to RoyLee1224/airflow that referenced this pull request Jun 21, 2025
…reduce bundle size (apache#51735)

* Feat(i18n): Move translation files to public, use i18next-http-backend

* Adopted i18next-http-backend

* Fix(i18n): Update locales directory path to public for translation files

* Fix(i18n): Update static file path for translation locales

* Fix(i18n): Update translation config file path

* Fix(i18n): Update ESLint configuration to include jsonc-parser

* Fix(i18n): Update ESLint file patterns and add 'components' to namespaces

* Fix(i18n): Initialize i18n(en) in DagCard tests

* chore: enforce consistent array type syntax per @typescript-eslint rule

* Revert "chore: enforce consistent array type syntax per @typescript-eslint rule"

This reverts commit d218738.

* Fix(i18n): Ignore i18n locale files in ESLint TypeScript rules

* Fix(tests): Remove unused imports and clean up test setup

* Apply pre-commit formatting to openapi-gen/ files as per apache#51755

* Fix(eslint): Update i18n and TypeScript rules configuration

* Apply ESLint and i18nRule

* Mov Arabic and French translations to public

* Fix: Update translation file paths to public directory

* Moved i18n doc and completeness checker script from public to dev/i18n

* fix(i18n): i18n policy document translation completeness check command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:dev-tools area:UI Related to UI/UX. For Frontend Developers. backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants