sankalp
d09f5f31ae
fix: correct misspelled Nalgaad Municipality to Nalgad Municipality
...
Fixes typo in location name
2026-06-23 20:50:08 +05:45
sankalp
cf9574781a
fix: update municipality names to official spellings
2026-06-23 20:48:17 +05:45
inoovador and Claude Opus 4.6
6e0883cf97
refactor: replace darker with ruff in pre-commit hook ( #100 )
...
* refactor: replace darker with ruff in pre-commit hook
Replace the darker pre-commit hook with ruff for better performance
and enhanced features. This replaces darker, black, flake8, flynt,
isort, and pylint with ruff's linter and formatter.
- Use ruff-pre-commit (v0.15.7) with ruff and ruff-format hooks
- Add "I" (isort) rule to ruff lint config in pyproject.toml
- Preserve file scope to nepali/ and tests/ directories
Closes #99
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
* refactor: centralize file scope in pyproject.toml
- Remove `files` directive from ruff pre-commit hooks
- Add `tests/**/*.py` to ruff include pattern in pyproject.toml
- File scoping now handled entirely by ruff config
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-11 12:14:16 +05:45
Bipin Thapa
3d6c448f69
refactor: move tests out of package directory ( #97 )
2026-03-23 18:33:14 +05:45
Bipin Thapa
0a255fa270
Merge pull request #98 from Tailung42/docs
...
chore: fix docstring,remove copy-paste error
2026-03-22 22:06:22 +05:45
Tailung42
be6253ba26
chore: fix docstring,remove copy-paste error
2026-03-21 17:14:02 +05:45
Bipin Thapa
cfc625da5a
Merge pull request #95 from Tailung42/feat/ci
...
ci: add ruff lint checing on github actions
fix: E721(type comparison) for object comparison using isinstance() fn.
2026-03-19 22:50:49 +05:45
Tailung42
fe2082f697
ci: remove the "check" argument because it's the default arg
2026-03-17 20:08:49 +05:45
Tailung42
1c2ed24f4b
chore: removed ignore E721 linting
2026-03-17 20:08:35 +05:45
Tailung42
aec3b27aba
refactor: fix E721 linting errors,
...
use instance() function to compare check if object belongs to class
not type(obj) == class
also: changed elif statements after return statement, raising errors in
darker
2026-03-17 19:54:52 +05:45
Tailung42
ca54a43a5e
ci: add ruff lint checing on github actions
2026-03-17 11:01:09 +05:45
Bipin Thapa
fb8c9e9d6a
Merge pull request #92 from Tailung42/main
...
This pr moves operater prefixes to a separate lookup table and also adds 976 to ntc numbers
2026-03-14 13:11:59 +05:45
Tailung42
8517008a27
refactor: extract operator prefixes into a lookup table
2026-03-13 16:29:22 +05:45
Tailung42
5094731d84
fix: add 976 as a prefix for ntc numbers
2026-03-13 10:57:05 +05:45
Bipin Thapa
e693606ab1
feat: add area name to telephone number ( #90 )
...
reference: https://www.prokerala.com/how-to/call/nepal/area-codes/?utm_source=chatgpt.com
potential issue: some districts use same code, eg: gandaki and gorkha,
might not return the expected district
2026-03-12 12:50:05 +05:45
Bipin Thapa
8148bbf851
docs: write correct docstring landline numbers related function ( #88 )
...
the docstrings used in landline handling functions are reused from their phone number handling counterparts, renamed: phone numbers to landline
operator to area code since that's what is being returned
in _parse_landline_number
2026-03-09 10:39:49 +05:45
Sugat Bajracharya
7d1e06dc50
docs: fix the broken link to .editorconfig in CONTRIBUTION.md
2026-03-03 12:41:59 +05:45
Tailung
c8706bbb1c
docs: fix the broken link to .editorconfig in CONTRIBUTION.md
2026-03-03 12:03:14 +05:45
Sugat Bajracharya
3edf17d9b1
feat: drop Python 3.8/3.9 support, add 3.11-3.13
2026-02-02 13:31:00 +05:45
Sugat Bajracharya
d57646c4dd
test: add coverage tests and remove Python 3.8 specific code
...
- Add tests for nepalinumber __str__, __repr__, __int__, __ne__, __neg__, __eq__
- Remove Python 3.8 version checks in test_number.py
- Remove unused sys import
2026-02-02 11:39:21 +05:45
Sugat Bajracharya
a612c2988f
feat!: drop Python 3.8/3.9 support, add 3.11-3.13
...
BREAKING CHANGE: Minimum Python version is now 3.10
- Drop support for Python 3.8 (EOL Oct 2024) and 3.9 (EOL Oct 2025)
- Add support for Python 3.11, 3.12, and 3.13
- Modernize type hints to Python 3.10+ syntax
- Update pre-commit hooks to latest versions
- Update GitHub Actions to latest versions
- Bump version to 1.2.0
2026-01-30 22:23:46 +05:45
Ajesh Sen Thapa
31fd3020f4
Merge pull request #83 from S4NKALP/main
2026-01-30 21:11:18 +05:45
sankalp
91696187f3
fix: update province 1 to Koshi Province
2026-01-30 14:03:28 +05:45
Sugat Bajracharya
df8956925c
Merge pull request #82 from aj3sh/fix-month-days
...
Updated months data for year 2082
2025-04-04 11:23:50 +05:45
Ajesh Sen Thapa
fc7a4cfb7d
chore: release v1.1.3
2025-04-03 21:33:45 +05:45
Ajesh Sen Thapa
c172820659
fix: update months data for year 2082
2025-04-03 21:31:30 +05:45
Ajesh Sen Thapa
eaa36ef251
Merge pull request #80 from aj3sh/fix-month-days
2025-01-26 12:25:52 +05:45
Ajesh Sen Thapa
aa22f61fbb
fix: update months total days data
2025-01-13 15:20:17 +05:45
Sugat Bajracharya
72bb38dd49
Merge pull request #79 from aj3sh/commitlint
...
ci: add commitlint
2024-05-27 09:48:26 +05:45
Ajesh Sen Thapa
7ddbcafc49
ci: add commitlint
...
Added commitlint for conventional commit check
2024-05-26 10:00:40 +05:45
Ajesh Sen Thapa
8b2b57da72
Merge pull request #77 from opensource-nepal/release/v1.1.1
...
chore: Release v1.1.1
2024-03-13 20:33:57 +05:45
Ajesh Sen Thapa
691dfd265c
chore: Release v1.1.1
2024-03-11 19:59:16 +05:45
Sugat Bajracharya
d845a4941c
Merge pull request #76 from opensource-nepal/date-issue-2081
...
fix: updated dates data for 2081
2024-03-11 21:06:05 +07:00
Ajesh Sen Thapa
32359b2d3d
fix: updated months data for 2081
2024-03-05 12:48:08 +05:45
Sugat Bajracharya
2efab86038
Merge pull request #75 from opensource-nepal/commitlint
...
ci: integrated commitlint
2024-02-14 13:29:41 +05:45
Ajesh Sen Thapa
ed06d0deb9
ci: integrated commitlint
2024-02-01 18:53:24 +05:45
Ajesh Sen Thapa
4127b12f28
Merge pull request #73 from sumanchapai/weekday-directive
2023-12-05 10:51:32 +05:45
suman chapai
97fca1f039
docs: fix weekday directive in README
2023-11-29 11:29:48 -06:00
Subash Chandra Sapkota
5c424ea653
Merge pull request #71 from aj3sh/date_converter_test_update
...
Test updated for nepali date converter
2023-07-10 09:34:44 +05:45
Ajesh Sen Thapa
ca5e3397cf
Merge branch 'main' into date_converter_test_update
2023-07-10 09:20:38 +05:45
Sugat Bajracharya
0607ee8a4b
Merge pull request #72 from aj3sh/pr-template
...
Added PR template on the repo
2023-07-10 08:59:20 +05:45
Ajesh Sen Thapa
60cc079108
chore: added PR template on the repo
2023-07-05 21:04:45 +05:45
Ajesh Sen Thapa
c3978be2ab
test updated for nepali date converter
2023-06-22 22:09:54 +05:45
Sugat Bajracharya
dca071cec4
Merge pull request #70 from aj3sh/changelog-for-1.1.0
...
Preparation for release 1.1.0
2023-06-20 19:55:23 +05:45
Ajesh Sen Thapa
79fb26bbb0
Preparation for release 1.1.0
...
Signed-off-by: Ajesh Sen Thapa <aj3sshh@gmail.com >
2023-06-17 22:43:23 +05:45
Ajesh Sen Thapa
d4c73493e5
Merge pull request #69 from sugat009/use_isort
...
Use isort
2023-06-13 21:26:35 +05:30
Sugat Bajracharya
ce12809b80
Use isort
2023-06-13 19:18:13 +05:45
Sugat Bajracharya
cbb938f7f6
Merge pull request #68 from aj3sh/support-from-django-package
...
Depreciated templatetags and Updated docs to django-nepali package
2023-06-12 21:52:03 +05:45
Ajesh Sen Thapa
1ac28378ab
Depreciated templatetags and Updated docs to django-nepali package
2023-06-11 11:19:27 +05:45
Sugat Bajracharya
bf51c0d85b
Merge pull request #67 from aj3sh/refactor
...
Minor-level refactoring
2023-06-09 21:18:53 +05:45