16 Commits

Author SHA1 Message Date
Koudai Aono
8ca47052e8 Remove black in lint.sh and format.sh (#1676) 2023-11-10 03:57:47 +09:00
Koudai Aono
bb9a20478b add pytest-xdist (#1667)
* add pytest-xdist

* add pytest-xdist

* Fix coverage
2023-11-09 00:33:48 +09:00
KotlinIsland
b48cb94edc (🎁) bump some dependencies (#1245)
* pyproject: cleanup and bump dependencies

* add more ruff config 🚀

* Fix types

* Remove isort for lint

---------

Co-authored-by: KotlinIsland <kotlinisland@users.noreply.github.com>
Co-authored-by: Koudai Aono <koxudaxi@gmail.com>
2023-04-15 12:45:15 +09:00
Koudai Aono
859c109ed9 Add ruff (#1095)
* Add ruff

* Revert needed imports

* Add lock file
2023-02-08 09:07:06 +09:00
Koudai Aono
349f4407a0 Support wrap_string_literal (#493)
* Support wrap_string_literal

* Update documents

* Fix black version for test and lint

* ignore mypy error

* ignore mypy error

* ignore mypy error
2021-08-11 10:16:40 +09:00
Koudai Aono
32a158c4c9 Use Poetry (#475)
* Use Poetry

* Update test.yml

* Update test.yml

* Update test.yml

* fix scripts

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Create requirements-docs.txt

* Update docs.yml

* Update publish.yml

* Update documents

* Remove setup.cfg

* Remove mypy.ini

* Fix types

* Update test.yml

* Update test.yml

* Fix lint.sh
2021-08-01 01:57:18 +09:00
Koudai Aono
b09bd1a6a4 improve performance (#290)
* improve performance

* import cached_property for old version

* implement cached_property for old version

* ignore coverage on TYPE_CHECKING

* ignore coverage

* ignore coverage

* improve code

* improve code

* remove unused code

* remove unused code

* improve code

* improve code

* reverted needed code

* improve code

* add isort:skip

* update isort version on lint.sh

* ignore type-checking of __init__

* change code style

* invert not conditions

* cache module_path

* use CSafeLoader on yaml

* fix a name of SafeLoader

* revert changes

* fix types
2020-12-27 23:45:39 +09:00
Koudai Aono
3c9878bc38 remove version limit of black (#269)
* remove version limit of black

* fix black version for lint
2020-11-26 18:08:20 +09:00
Koudai Aono
a5400e36e4 fix settings for isort (#254)
* improve scripts

* fix settings for isort
2020-11-10 05:16:38 +09:00
Philipp S. Sommer
8ed4841ec5 update isort and black (#251)
* compatibility fix for isort

* add isort>=5.0 and remove black constraint

* ensure compatibility with isort==4.3.21

as suggested by https://github.com/koxudaxi/datamodel-code-generator/pull/251#issuecomment-723743017

* black and isort in separate venv

as suggested in https://github.com/koxudaxi/datamodel-code-generator/pull/251#issuecomment-723683653

* minor

* add black to the install requirements

don't know why this dropped out...

* run tests in separate venv

as suggested in https://github.com/koxudaxi/datamodel-code-generator/pull/251#issuecomment-723854171
2020-11-09 18:47:42 +09:00
Koudai Aono
b92cc074be Change CI to GitHub Action (#204)
* change CI to GitHub Action

* fix codecov

* ignore unittest on windows
2020-09-01 03:28:27 +09:00
Koudai Aono
bad4ce1cd3 update tool settings (#117) 2020-04-19 00:56:51 +09:00
Koudai Aono
93fa705c59 support field (#99)
* suuport field

* fix format.sh and imports order

* update README
2020-03-10 01:38:55 +09:00
Josh Bode
d962be8070 move lint configuration (black, isort, mypy) to configuration files (pyproject.toml, setup.cfg) to play nicer with other dev environemnts (#97) 2020-03-08 22:57:53 +09:00
Koudai Aono
0d6b3e3b78 Support remote reference (#87)
* Support Remote Reference
2020-01-07 05:12:51 +09:00
Koudai Aono
13fe5aa8ad add scripts for test, lint, and format (#68)
* add the script for test, lint, and format
2019-10-09 20:50:43 +09:00