Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glob-like patterns in AttrFormatter and french nouns #549

Merged
merged 11 commits into from
Sep 15, 2020

Conversation

aulemahal
Copy link
Collaborator

Pull Request Checklist:

  • This PR addresses an already opened issue (for bug fixes / features)
    • This PR fixes an issue raised in slack.
  • Tests for the changes have been added (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • HISTORY.rst has been updated (with summary of main changes)
  • bumpversion (minor / major / patch) has been called on this branch
  • Tags have been pushed (git push --tags)
  • What kind of change does this PR introduce?
    Values to format, in core.formatting.AttrFormatter can now include glob-like patterns. Example : "QS-*" that translates to "seasonal".

  • Does this PR introduce a breaking change?
    No

  • Other information:
    Also added the plural nouns in french. I don't think we're using them, but they exist in the english formatter.

@aulemahal aulemahal added this to the v0.20 milestone Sep 14, 2020
Copy link
Collaborator

@tlogan2000 tlogan2000 left a comment

Choose a reason for hiding this comment

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

Builds are failing on this

@aulemahal aulemahal changed the title Locales glob modif frnouns Glob-like patterns in AttrFormatter and french nouns Sep 15, 2020
@Zeitsperre
Copy link
Collaborator

The doctests are failing on the style of guillemets. That's annoying. Looking into this.

@Zeitsperre
Copy link
Collaborator

Opened an issue about it. You may need to change your string quotations in the meantime. Erotemic/xdoctest#87

@aulemahal
Copy link
Collaborator Author

Oh easy fix. I will use «» instead.

@aulemahal
Copy link
Collaborator Author

aulemahal commented Sep 15, 2020

Sooo, the first doctest uses " and the second one ' ? Some magic is happening here...

@Zeitsperre
Copy link
Collaborator

The maintainer of xdoctest is open to a PR to implement a means to relax this feature, but this wacky behaviour exists in the stdlib doctest as well. He mentioned using ... if you want to evade the quotation mark problem altogether.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 2317

  • 12 of 12 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 92.114%

Totals Coverage Status
Change from base Build 2313: 0.02%
Covered Lines: 3154
Relevant Lines: 3424

💛 - Coveralls

1 similar comment
@coveralls
Copy link

coveralls commented Sep 15, 2020

Pull Request Test Coverage Report for Build 2317

  • 12 of 12 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 92.114%

Totals Coverage Status
Change from base Build 2313: 0.02%
Covered Lines: 3154
Relevant Lines: 3424

💛 - Coveralls

Copy link
Collaborator

@tlogan2000 tlogan2000 left a comment

Choose a reason for hiding this comment

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

Assuming docs build correctly i approve in advance

@aulemahal
Copy link
Collaborator Author

The stalled and failed RTD build is not updating here in github? Anyway, I tested this branch on RTD directly and it worked. Merging.

@aulemahal aulemahal merged commit 103d375 into master Sep 15, 2020
@aulemahal aulemahal deleted the locales-glob-modif-frnouns branch September 15, 2020 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants