Skip to content

Commit c2fe9ff

Browse files
authored
Merge pull request #53 from sot/typo
Fix docs typo 'muade'
2 parents d64917a + ddf0dc4 commit c2fe9ff

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

cxotime/cxotime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class CxoTime(Time):
4747
date YYYY:DDD:hh:mm:ss.ss.. (string)
4848
frac_year YYYY.ffffff = date as a floating point year
4949
greta YYYYDDD.hhmmsss (string)
50-
muade YYYDDDhhmmsss (integer)
50+
maude YYYDDDhhmmsss (integer)
5151
========= ==============================================
5252
5353
Important differences:

ruff-base.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copied originally from pandas. This config requires ruff >= 0.2.
2-
target-version = "py311"
1+
target-version = "py312"
32

43
# fix = true
54
lint.unfixable = []
@@ -31,6 +30,7 @@ lint.extend-select = [
3130
"ARG001", # Unused function argument
3231
"RSE102", # Unnecessary parentheses on raised exception
3332
"PERF401", # Use a list comprehension to create a transformed list
33+
"S101", # Use of `assert` detected
3434
]
3535

3636
lint.ignore = [
@@ -41,10 +41,13 @@ lint.ignore = [
4141
"B028", # No explicit `stacklevel` keyword argument found
4242
"PLR0913", # Too many arguments to function call
4343
"PLR1730", # Checks for if statements that can be replaced with min() or max() calls
44+
"PLC0415", # `import` should be at the top-level of a file
45+
"PLW1641", # Class implements `__hash__` if `__eq__` is implemented
4446
]
4547

4648
extend-exclude = [
4749
"docs",
50+
"build",
4851
]
4952

5053
[lint.pycodestyle]
@@ -56,4 +59,5 @@ max-line-length = 100 # E501 reports lines that exceed the length of 100.
5659
# - D205: Don't worry about test docstrings
5760
# - ARG001: Unused function argument false positives for some fixtures
5861
# - E501: Line-too-long
59-
"**/tests/test_*.py" = ["D205", "ARG001", "E501"]
62+
# - S101: Do not use assert
63+
"**/tests/test_*.py" = ["D205", "ARG001", "E501", "S101"]

0 commit comments

Comments
 (0)