Skip to content

Conversation

@viniciusfeitosa
Copy link

I've written more information about precision on format_percent.

@codecov-io
Copy link

codecov-io commented Dec 17, 2016

Current coverage is 90.15% (diff: 100%)

Merging #460 into master will increase coverage by <.01%

@@             master       #460   diff @@
==========================================
  Files            24         24          
  Lines          3979       3983     +4   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           3587       3591     +4   
  Misses          392        392          
  Partials          0          0          

Powered by Codecov. Last update ab56a43...2e7f6ad

babel/numbers.py Outdated
u'2,512%'
>>> format_percent(25.1234, locale='sv_SE')
u'2\\xa0512\\xa0%'

Choose a reason for hiding this comment

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

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section default.

The issue can be fixed by applying the following patch:

--- a/babel/numbers.py
+++ b/babel/numbers.py
@@ -346,7 +346,7 @@
     u'2,512%'
     >>> format_percent(25.1234, locale='sv_SE')
     u'2\\xa0512\\xa0%'
-    
+
     You can set the percent precision changing the scale
     >>> format_percent(0.345, locale='en_US', scale=2)
     u'34.50%'

babel/numbers.py Outdated
u'2,512%'
>>> format_percent(25.1234, locale='sv_SE')
u'2\\xa0512\\xa0%'

Choose a reason for hiding this comment

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

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section default.

The issue can be fixed by applying the following patch:

--- a/babel/numbers.py
+++ b/babel/numbers.py
@@ -346,7 +346,7 @@
     u'2,512%'
     >>> format_percent(25.1234, locale='sv_SE')
     u'2\\xa0512\\xa0%'
-    
+
     You can set the percent precision changing the scale
     >>> format_percent(0.345, locale='en_US', scale=2)
     u'34.50%'

babel/numbers.py Outdated
u'2,512%'
>>> format_percent(25.1234, locale='sv_SE')
u'2\\xa0512\\xa0%'

Choose a reason for hiding this comment

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

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section default.

The issue can be fixed by applying the following patch:

--- a/babel/numbers.py
+++ b/babel/numbers.py
@@ -346,7 +346,7 @@
     u'2,512%'
     >>> format_percent(25.1234, locale='sv_SE')
     u'2\\xa0512\\xa0%'
-    
+
     You can set the percent precision changing the scale
     >>> format_percent(0.345, locale='en_US', scale=2)
     u'34.50%'

babel/numbers.py Outdated
u'2,512%'
>>> format_percent(25.1234, locale='sv_SE')
u'2\\xa0512\\xa0%'

Choose a reason for hiding this comment

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

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section default.

The issue can be fixed by applying the following patch:

--- a/babel/numbers.py
+++ b/babel/numbers.py
@@ -346,7 +346,7 @@
     u'2,512%'
     >>> format_percent(25.1234, locale='sv_SE')
     u'2\\xa0512\\xa0%'
-    
+
     You can set the percent precision changing the scale
     >>> format_percent(0.345, locale='en_US', scale=2)
     u'34.50%'

@akx
Copy link
Member

akx commented Jan 16, 2018

This is conflicted by #494, so closing.

@akx akx closed this Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants